Open Bug 1668416 Opened 4 years ago Updated 4 years ago

Forward and back buttons lose context

Categories

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

80 Branch
defect

Tracking

()

UNCONFIRMED

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.

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.

Flags: needinfo?(acarrico)

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:

  1. I used a "new private window" for this test. Navigate to:
    https://dl.acm.org/doi/pdf/10.1145/3406088.3409026

  2. 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.

  3. Hit the reload button

  4. Now the browser's history has two items:

https://dl.acm.org/action/cookieAbsent
about:private browsing

The original URI is lost.

  1. 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.

Flags: needinfo?(acarrico)

Assigning "Core: DOM: Navigation" component for this issue.

Component: Untriaged → DOM: Navigation
Product: Firefox → Core

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.

Severity: -- → N/A
Priority: -- → P3
Severity: N/A → S3
You need to log in before you can comment on or make changes to this bug.