Closed Bug 65484 Opened 24 years ago Closed 24 years ago

Dynamically added iframe elements cause a repeat of URL in history

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 65483

People

(Reporter: pbwiz, Assigned: jst)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 0.7) Gecko/20010109
BuildID:    2001010901

Using DOM level 1 comands I am using the appendChild method to attach
an IFRAME element to the current document.  Every time this happens I
get another history of the current page added to the history list.  I
have also noticed that if you hit the refresh key multiple times then
the script is run again, but the document is not reloaded, just
another IFRAME element is added to the document.

Reproducible: Always
Steps to Reproduce:
Load the web page.  Use refresh to repeat the bug so it is more noticable.

Actual Results:  The web page is repetitivaly added to the history and at times
a second IFRAME is added to the web page when you use the refresh.

Expected Results:  The history should not have been modified, and the page
should only have one IFRAME element.

I first noticed this problem in Netscape 6.0.  This problem does not happen in
IE5.5.

*** This bug has been marked as a duplicate of 65483 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
sumbitted twice (bug 55055 taking it's toll again)
Verified dup.
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.