Closed Bug 367482 Opened 18 years ago Closed 18 years ago

loading stalls, when iframe is created dynamically in the onload handler

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 315056

People

(Reporter: malte.wedel, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 When a HTML page, which is embedded in an frame or iframe, does create another iframe dynamically and adds it to the DOM, the onload event of the parent page is never fired and the loading animation and progress bar keep indicating that the page is still loading. Minimal sample files (Yes, these files are not well formed or anything, but just the minimal HTML you need to reproduce. The problem does also occur when using valid XHTML): - endless.html <body onload="alert('loaded')"> <iframe src="content.html"></iframe> - content.html <body onload="document.body.appendChild(document.createElement('iframe'))"> Reproducible: Always Steps to Reproduce: 1. Open the file endless.html in the browser Actual Results: Loading stalls, the loading animation keeps running, the progress bar stays close to 100% and the onload event of endless.html is never fired Expected Results: After loading content.html the loading of all content is finished, so the onload of endless.html should be fired (and the alert box being shown) I have set the severity to major, as this is not only annoying for users, but the onload-event is not fired which may affect the functionality of websites.
Isn't this the same as bug bug 143398?
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Version: unspecified → 2.0 Branch
You need to log in before you can comment on or make changes to this bug.