Assignee: nobody → events
Component: General → DOM: Events
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.8 Branch
Created attachment 251918 [details] Example of the behavior in Firefox This HTML page demonstrates the bug as it may be experienced in Firefox. Here, it is quite annoying that the DOMContentLoaded event is not executed when document.writing the document content. To reproduce: 1) Open the page in Firefox 2) Click the "Write document" button 3) Observe that the document is written, but no alert shows (as the DOMContentLoaded event is not fired) 4) Observe that if you press the Refresh button, an alert saying "DOM loaded" appears (as the DOMContentLoaded is indeed fired in this case).
I do see the alert when testing using trunk builds.
This is still broken for Firefox 2.0. If the trunk builds work, then maybe the next version will fix it.
Attachment #716312 - Attachment mime type: text/plain → text/html
That testcase has nothing to do with this bug, since it doesn't involve DOMContentLoaded in any way.
My bad. I assumed the core issue to be the same that events are not getting fired in general. I have created another bug (# 843459) as my test case is related to onload.
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.