[Webkit-unassigned] [Bug 40919] beforeload event not sent to document for <img src> added to document using .innerHTML (affects images.google.com)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 23 11:20:07 PDT 2010


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





--- Comment #8 from Dave Hyatt <hyatt at apple.com>  2010-06-23 11:20:07 PST ---
Created an attachment (id=59536)
 --> (https://bugs.webkit.org/attachment.cgi?id=59536)
Patch

This patch does two things:

(1) It makes beforeload flow up to the document even for nodes that aren't reachable from the document element.  This lets the document observe orphaned image loads.

(2) It doesn't bother doing the synchronous beforeload dispatch after parsing document fragments.  This ensures that fragments that then get assigned into the document are in the document at the time beforeload fires.

-- 
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