Open
Bug 1457165
Opened 7 years ago
Updated 3 years ago
Location does not match "Navigated to" URL when pressing "Back" button
Categories
(Core :: Widget: Cocoa, defect, P3)
Tracking
()
NEW
People
(Reporter: mborch, Unassigned)
Details
Attachments
(1 file)
320.58 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0
Build ID: 20180323154952
Steps to reproduce:
1. I change the current history entry using "replaceState";
2. I navigate to a new page using assignment to "location.href";
3. I click the back button.
Actual results:
The browser loads the URL specified in the "replaceState" call, but the location bar – and "location.href" – shows the original URL.
Expected results:
The location information should match the URL that was retrieved.
Comment 1•7 years ago
|
||
Hi , i managed to reproduce this issue only on MAC OS using the latest nightly build (61.0a1 (2018-05-01)) using the following steps:
1. Open Browser and reach http://www.ign.com
2. Add DOM to Dev Panel from Settings and "Show Split Console(Esc)".
3. Paste the following script in the Split Console and press Enter :
window.history.replaceState({
ign: 'bar'
}, 'http://www.ign.com', '/ps4');
4. Filter the DOM Panel to show only show "location" and refresh the panel. ( Notice the location is now: http://www.ign.com/ps4 )
5. Paste - location.href = "http://www.google.com" in split console and press Enter. (Notice the location is now : http://www.google.com)
6. Click the Back browser button.
The "location" is the original http://www.ign.com instead of http://www.ign.com/ps4
I will set the component for this to Widget Cocoa since it only occurs on MAC OS, i was unable to reproduce it on Windows.
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
status-firefox59:
--- → affected
status-firefox60:
--- → affected
status-firefox61:
--- → affected
Component: Untriaged → Widget: Cocoa
Ever confirmed: true
OS: Unspecified → Mac OS X
Product: Firefox → Core
Hardware: Unspecified → All
Version: 59 Branch → Trunk
Updated•7 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•