[Webkit-unassigned] [Bug 75442] New: <object> tag with classid fires onbeforeload but doesn't load anything

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 2 11:10:21 PST 2012


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

           Summary: <object> tag with classid fires onbeforeload but
                    doesn't load anything
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: felixcca at yahoo.ca


Created an attachment (id=120889)
 --> (https://bugs.webkit.org/attachment.cgi?id=120889&action=review)
Contains an `<object>` with a `classid` that won't load

When an `<object>` tag has a `<param name="movie">` inside of it, it will at some point fire an `onbeforeload` event. However, if it also has a `classid` attribute, it will not actually load anything.

To reproduce, simply open the attached file.

==EXPECTED RESULT==
The movie should either load or not load; but in case WebKit aborts the load, it shouldn't fire the `beforeload` event in the first place.

==ACTUAL RESULT==
The movie doesn't load but the `beforeload` event is triggered. The Network tab of the Inspector shows that no actual request was performed. Removing the `classid` attribute will enable the movie to load.

==ADDITIONAL INFOS==
This may or may not be the same issue as bug #44575: in case there's an `<embed>` inside the `<object>`, a `beforeload` event for the same content will be fired twice.

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