Forward and back buttons lose context
Categories
(Core :: DOM: Navigation, defect, P3)
Tracking
()
People
(Reporter: acarrico, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Steps to reproduce:
Navigate to this page:
https://dl.acm.org/doi/pdf/10.1145/3406088.3409026
Read the page.
Actual results:
When I return to the tab some time later. The tab is on this page instead:
https://dl.acm.org/action/cookieAbsent
I enable the required cookie, but can't navigate back to the original page because it is gone from my back button history, which just has a few cookieAbsent pages, under the forward and back buttons.
Expected results:
I should be able to back out of the cookieAbsent page to my original context.
Comment 1•4 years ago
|
||
I left the page open for a couple of hours but the tab remain the same when I returned to it.
For how long should I leave the page open?
Thanks.
Reporter | ||
Comment 2•4 years ago
|
||
Thanks for cheking. I'm not sure how I triggered the problem, we had lost power at some point recently, so perhaps a restarted session, but here is a test case:
-
I used a "new private window" for this test. Navigate to:
https://dl.acm.org/doi/pdf/10.1145/3406088.3409026 -
Click on the lock icon: see that cookie permission is allowed, click the X to disallow cookie. Firefox responds by saying it may be necessary to reload the page.
-
Hit the reload button
-
Now the browser's history has two items:
https://dl.acm.org/action/cookieAbsent
about:private browsing
The original URI is lost.
- Paste the original URI into location bar again, and again it is converted to the cookieAbsent URI. Whatever mechanism is used to send me to the cookieAbsent URI seems to be scrubbing the original URI from the history.
Now, I'm trying to repeat my test with more acm.org pages in my history, but I don't know how to re-allow the cookie for "http://dl.acm.org". Clicking "manage protection settings", under the blocked cookie, in the location bar drop down, brings up Preferences, and http://dl.acm.org is "allowed" under "Exceptions - Cookies and Site Data", but the cookie is actually blocked in both private and normal browser sessions, perhaps this is a separate bug. I'll try restarting (later) to see if this helps.
Comment 3•4 years ago
|
||
Assigning "Core: DOM: Navigation" component for this issue.
Comment 4•4 years ago
|
||
What does "see that cookie permission is allowed, click the X to disallow cookie." mean?
But the page itself can of course detect some missing cookie and replace the current url using history.replaceState for example.
Updated•4 years ago
|
Description
•