RESOLVED FIXED 24027
Do not send loader callbacks during CSS styling
https://bugs.webkit.org/show_bug.cgi?id=24027
Summary Do not send loader callbacks during CSS styling
Cameron Zwarich (cpst)
Reported 2009-02-19 10:15:16 PST
Currently loader callbacks are sent during CSS styling, e.g. if a CSS background image is loaded from the cache. Since styling is not reentrant and loader callbacks may provoke CSS styling from the WebKit client, this is not safe. The fix is to delay sending the callbacks until styling has completed. See the discussion in bug 22521 for more details. This caused crashes with iChat, which were fixed by Mitz with a workaround in r41071. I assigned this bug to him because he has the best idea of how to make the correct fix.
Attachments
Suspend memory client callbacks during attach() and recalcStyle() (9.62 KB, patch)
2009-02-19 11:02 PST, mitz
sam: review+
mitz
Comment 1 2009-02-19 11:02:30 PST
Created attachment 27798 [details] Suspend memory client callbacks during attach() and recalcStyle()
mitz
Comment 2 2009-02-19 11:05:20 PST
I intend to change Reenable to ReEnable.
mitz
Comment 3 2009-02-19 17:42:48 PST
Note You need to log in before you can comment on or make changes to this bug.