Summary: | async xmlhttprequest does not abort when the page is unloaded | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Adam Gundy <adam> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | maksim, ruchir.brahmbhatt |
Priority: | NOR | Keywords: | triaged |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
simple test page
really simple php page to simulate eg comet with long wait time |
Description
Adam Gundy
2008-03-30 04:07:09 UTC
Created attachment 24121 [details]
simple test page
needs the dumb php page too
Created attachment 24122 [details]
really simple php page to simulate eg comet with long wait time
a small comment - it certainly should be safe to abort pending 'GET' operations. 'POST' should probably not! Thanks for the report. another comment.. safari aborts the requests. Using konqueror 4.2.90, here klauncher processes don't grow. A potential cause for bug #187597. SVN commit 1075245 by orlovich: - Make sure to cancel non-POST XHR jobs when the related document object is destroyed. (#160087) - Related to this, don't crash trying to emit events when we get to changeState w/o a doc (#187597, #214584, #213987, #201053). Also add some paranoia about that for the methods. - Handle encoding inside mimetype overrides. (Some demo by Mr. Strigi). BUG: 160087 BUG: 187597 BUG: 214584 BUG: 213987 BUG: 201053 M +32 -6 xmlhttprequest.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1075245 SVN commit 1075253 by orlovich: automatically merged revision 1075245: - Make sure to cancel non-POST XHR jobs when the related document object is destroyed. (#160087) - Related to this, don't crash trying to emit events when we get to changeState w/o a doc (#187597, #214584, #213987, #201053). Also add some paranoia about that for the methods. - Handle encoding inside mimetype overrides. (Some demo by Mr. Strigi). BUG: 160087 BUG: 187597 BUG: 214584 BUG: 213987 BUG: 201053 M +32 -6 xmlhttprequest.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1075253 |