[Webkit-unassigned] [Bug 49123] New: beforeload events are fired by <object> elements when their fallback content is used

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 5 21:08:18 PDT 2010


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

           Summary: beforeload events are fired by <object> elements when
                    their fallback content is used
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: marc.hoyois at gmail.com


Overview:
TWO beforeload events are fired by <object> elements instead of ZERO when their fallback content is used.

Steps to Reproduce:
Open the attached HTML file. It contains an instance of YouTube's standard embedding code, and alerts for beforeload events.

Expected result:
The <object> tag is ignored because it has neither the type nor the data attribute. The enclosed <embed> tag is used and fires a beforeload event.
Total events fired: 1.

Actual result:
The <object> tag is ignored because it has neither the type nor the data attribute. The enclosed <embed> tag is used and fires a beforeload event. BUT, the unused <object> tag also fires two beforeload events.
Total events fired: 3.

Tested in OS X 10.6.4 with WebkKit 6533.18.5, r71367.

Notes:
The same happens with any other kind of fallback content (<video>, <img>, ...)

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