Closed
Bug 357700
Opened 18 years ago
Closed 18 years ago
Appending dynamically generated iframe to document.body causes frame reload
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 254144
People
(Reporter: netdragon, Unassigned)
Details
Attachments
(1 file)
1.03 KB,
text/html
|
Details |
When a dynamically generated iframe (created by src="javascript:document.write(...") is moved in the DOM to the document.body element using appendChild, it causes the frame to reload. It seems to me that the desirable behavior would be for it not to reload, as in IE, since people can explicitly force a reload. The automatic reload gets in the way of certain dynamic functionality, such as using Ajax to write out content that can be moved around in the DOM.
I will be attaching a test page. Tested on FF2 and FF1.5
Reporter | ||
Comment 1•18 years ago
|
||
Test page. Click "Cycle" and notice that the previous frame's code gets called again.
Comment 2•18 years ago
|
||
Dup of bug 254144?
Comment 3•18 years ago
|
||
*** This bug has been marked as a duplicate of 254144 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•