[Webkit-unassigned] [Bug 52581] preventDefault() in beforeload should prevent request

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 13 01:56:43 PDT 2011


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


Andy Estes <aestes at apple.com> changed:

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




--- Comment #5 from Andy Estes <aestes at apple.com>  2011-09-13 01:56:43 PST ---
I noticed this when working on the patch for bug 45586. ImageLoader calls CachedResourceLoader::requestImage() before any beforeload work is performed. For the image case, beforeload only has the opportunity to stop a renderer from being attached to an image, not to stop the network request. This makes beforeload work differently for images than it does for other resources (e.g. beforeload can actually block the network request of an <object> or <embed>).

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