Closed Bug 42723 Opened 24 years ago Closed 24 years ago

location.replace() does not work

Categories

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

x86
Windows 2000
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mozilla, Assigned: radha)

References

Details

Attachments

(1 file)

location.replace() is supposed to redirect without leaving the page in the 
session history. This does not work on Mozilla. The page containing the 
location.replace still exists in the browser history after the replace has taken 
place.

Build: 2000061320
Further testing shows that pages that use document.location = "http://foo.bar/" 
*do not* get put into the session history. It's like someone prgrammed the two 
functions backwards.
Browser, not JS Engine. Not sure if this is for History,
so sending to Browser-General for disposition -
Assignee: rogerl → asa
Component: Javascript Engine → Browser-General
QA Contact: pschwartau → doronr
history.
Assignee: asa → radha
Component: Browser-General → History
QA Contact: doronr → claudius
rick, another JS history/Session History hookup  case
Depends on: 18321
This is now fixed with checkins done for beta2
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
confirmed fix using 2000092608 on Win2000
Works for Me
Platform: PC
OS: Windows 98
Mozilla Version: 2000100508

Marking as Verified
Status: RESOLVED → VERIFIED
Mass removing self from CC list.
Now I feel sumb because I have to add back. Sorry for the spam.
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.

Attachment

General

Created:
Updated:
Size: