NEW 13039
WebKit doesn't load page resources during event tracking (NSEventTrackingRunLoopMode)
https://bugs.webkit.org/show_bug.cgi?id=13039
Summary WebKit doesn't load page resources during event tracking (NSEventTrackingRunL...
Jan Van Boghout
Reported 2007-03-10 16:04:20 PST
When a subresource is loaded during an event tracking loop (sliders and color wheel actions, for example), WebKit doesn't actually load the changes until the loop is ended. It appears that the data does get loaded during the loop, but the page isn't updated until the loop ends. Sample project and app displaying the bug: http://macrabbit.com/misc/webkit-event-tracking/WebKitEventTracking.zip
Attachments
Jan Van Boghout
Comment 1 2007-08-10 09:03:46 PDT
I have tracked the problem down to NSURLConnection. WebKit uses NSURLConnection in ResourceHandleMac.mm: start(Frame* frame). Since NSURLConnection refuses to send delegate methods during event tracking, all of WebKit inherits this behavior. Possible solutions: threading the resource load or fixing this bug in Foundation. The latter is probably more preferable.
David Kilzer (:ddkilzer)
Comment 2 2007-08-11 06:55:08 PDT
(In reply to comment #1) > I have tracked the problem down to NSURLConnection. WebKit uses NSURLConnection > in ResourceHandleMac.mm: start(Frame* frame). Since NSURLConnection refuses to > send delegate methods during event tracking, all of WebKit inherits this > behavior. > > Possible solutions: threading the resource load or fixing this bug in > Foundation. The latter is probably more preferable. Foundation bugs/enhancement requests need to be reported through <https://bugreport.apple.com/>. If you do not have an ADC account, you may sign up for a free "online" account at <http://connect.apple.com/>. Please reference the Bugzilla bug there and provide the radar bug number here when you're done.
Jan Van Boghout
Comment 3 2007-08-11 07:04:07 PDT
Related Radar bug: radar://5401429
Jan Van Boghout
Comment 4 2007-08-16 16:02:23 PDT
To the Apple employees that work on WebKit: I am now aware of a fix for the NSURLConnection issue in Leopard, but I can't disclose it. You may want to contact John Montbriand at Developer Technical Support.
Note You need to log in before you can comment on or make changes to this bug.