[Webkit-unassigned] [Bug 41027] New: Cannot prevent loading of images in <object> tags using onbeforeload.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 22 17:41:02 PDT 2010


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

           Summary: Cannot prevent loading of images in <object> tags
                    using onbeforeload.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aestes at apple.com


Created an attachment (id=59447)
 --> (https://bugs.webkit.org/attachment.cgi?id=59447)
test case

In general, a script can prevent loading of resources in <object> tags by handling the beforeload event and calling preventDefault().  See LayoutTests/fast/dom/beforeload/flash-before-load.html.  Unfortunately, this does not seem to work when the resource specified in the <object> is an image.  See the attached test case.

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