Closed
Bug 244532
Opened 20 years ago
Closed 20 years ago
iframe's onload event bubbles to parent contrary to DOM 3 specification
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 196057
People
(Reporter: justinarthur, Unassigned)
Details
(Keywords: dom2)
Attachments
(1 file)
191 bytes,
application/vnd.mozilla.xul+xml
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040322 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040322 In an XUL document, upon the successful loading of an iframe element, I have observed the bubbling of the load event, triggering the parent window's onload script(s). According to the current W3 DOM specifications, the load event should not bubble (see the table in this section - http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/events.html#Events-EventTypes-complete). I will attach a testcase XUL document. Reproducible: Always Steps to Reproduce:
Reporter | ||
Comment 1•20 years ago
|
||
Simple XUL testcast. Notice how the alert occurs twice!
Comment 2•20 years ago
|
||
This is a known issue in XUL; we have a bug on it already....
Whiteboard: DUPEME
Comment 3•20 years ago
|
||
Probably a duplicate of bug 196057.
Reporter | ||
Comment 4•20 years ago
|
||
Agreed, marking as dupe. *** This bug has been marked as a duplicate of 196057 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•