[Webkit-unassigned] [Bug 20073] Pending resource requests not always stopped when new request is loaded

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 17 11:43:03 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20073





------- Comment #3 from jalkut at red-sweater.com  2008-07-17 11:43 PDT -------
Note: I have searched for a workaround to this problem. I hoped that calling
"stopLoading" on the affected frame would cause "the good stop" to get reached,
but it doesn't (it uses the same faulty "stopAllLoaders" method).

So far the best workaround I've come across is, when I need to fully reload a
request in the web frame, to literally throw away the existing WebView and
start from scratch, replacing the old WebView in the view hierarchy, and then
loadHTMLString to start fresh.

This seems to be the only way to guarantee that the stale broken-image
CachedResource objects don't get used perpetually by my WebFrame.

If anybody has a better workaround to suggest I'd be glad to hear it.

Daniel


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list