[Webkit-unassigned] [Bug 14568] load event can fire prematurely for frameless documents (affects Acid3?)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 26 21:49:16 PDT 2014


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


Andreas Kling <akling at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akling at apple.com




--- Comment #7 from Andreas Kling <akling at apple.com>  2014-08-26 21:49:21 PST ---
(In reply to comment #6)
> Frameless documents can't load subresources, so I think that the comment is incorrect, and the bug is invalid.
> 
> What Myles is referring to is that implicitClose() dispatches pending load events on ALL documents, as it calls these static functions:
> 
>     ImageLoader::dispatchPendingBeforeLoadEvents();
>     ImageLoader::dispatchPendingLoadEvents();
>     ImageLoader::dispatchPendingErrorEvents();
> 
>     HTMLLinkElement::dispatchPendingLoadEvents();
>     HTMLStyleElement::dispatchPendingLoadEvents();

Could we pass the Document* to these things and make them dispatch document-local events only? Would that solve the issue? I don't understand why they work globally.

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



More information about the webkit-unassigned mailing list