Closed
Bug 237723
Opened 21 years ago
Closed 21 years ago
loading iframe or object with html file inta a positioned div causes extra entries of current document in history
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 237717
People
(Reporter: fotemac, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.6) Gecko/20040113
Build Identifier: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.6) Gecko/20040113
If an ifame element which has a text/html file as its src, or an object element
which has a type="text/html" file as its data, is loaded dynamically into a
positioned div (layer), the current document is reiterated inappropriately in
the history. The consequence is that one must hit the back button multiple
times to actually get back to the previous document.
Reproducible: Always
Steps to Reproduce:
1.use createRange() ... appendChild() to load <iframe src="foo.html"
...></iframe> or <object data="foo.html" type="text/html"...></object> into a
div with position:absolute.
2.check the history list (down-arrow button beside the back button) and you will
see that every time you do 1. another entry of the current document is added
inappropriately to the list.
3.
Actual Results:
Because of the inappropriate reiterations of the current document in the
history, one must hit the back button multiple times (or jump over those
reiterations in the dropdown with the history list) to actually get back to the
previous document.
Expected Results:
Neither IE nor Opera have this bug. Their back buttons take you back properly to
the previous document. So should Mozilla'a.
Comment 1•21 years ago
|
||
*** This bug has been marked as a duplicate of 237717 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•