Bug 75442 - <object> tag with classid fires onbeforeload but doesn't load anything
Summary: <object> tag with classid fires onbeforeload but doesn't load anything
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 11:10 PST by Félix Cloutier
Modified: 2012-03-09 13:06 PST (History)
3 users (show)

See Also:


Attachments
Contains an `<object>` with a `classid` that won't load (431 bytes, text/html)
2012-01-02 11:10 PST, Félix Cloutier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Félix Cloutier 2012-01-02 11:10:21 PST
Created attachment 120889 [details]
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.