Closed Bug 54482 Opened 24 years ago Closed 24 years ago

when using write method history does not advance, so back button will not work

Categories

(Core :: DOM: Navigation, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 35340

People

(Reporter: ty, Assigned: radha)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; m17) Gecko/20000807
Netscape6/6.0b2
BuildID:    2000080712

I used the following code to write content to an IFRAME:
    window.frames.content.document.write("services content");
    window.frames.content.document.close();
This works great, except that the history object does not advance, so the back
button will not work.  I don't know if w3c recommends that it should, but I do.

Reproducible: Didn't try

Expected Results:  The new content in the IFRAME should have had it's own place
in the history object so that a user can navigate using the back button to the
previous content.

I haven't tried out this bug with normal frame's document objects, or any other
instances of the document object.
Browser, not engine. Reassigning to History component for further triage -
Assignee: rogerl → radha
Component: Javascript Engine → History
QA Contact: pschwartau → claudius
This is dupe of 35340

*** This bug has been marked as a duplicate of 35340 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
VERIFIED Dupe
Status: RESOLVED → VERIFIED
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in before you can comment on or make changes to this bug.