[Webkit-unassigned] [Bug 15243] Hang while connection:willCacheResponse: delegate called on secondary thread

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 30 17:12:11 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15243





------- Comment #18 from timothy at hatcher.name  2007-09-30 17:12 PDT -------
This is happing because of the synchronous XMLHTTPRequest and the
performSelectorOnMainThread:withObject:waitUntilDone: I added is causing a
deadlock because the runloop for the synchronous connection only runs for some
modes. I think a fix would be to use
performSelectorOnMainThread:withObject:waitUntilDone:modes:, and pass an array
that has the mode that [NSSynchronousURLConnectionDelegate run:] uses in
CFRunLoopRunSpecific.


-- 
Configure bugmail: http://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