Open Bug 1568975 Opened 8 months ago Updated 8 months ago

Restoring session after using RDM will lead to inconsistent state (URL bar != actual page)

Categories

(DevTools :: Responsive Design Mode, defect, P3)

70 Branch
Desktop
Unspecified
defect

Tracking

(firefox69 unaffected, firefox70 fix-optional)

Tracking Status
firefox69 --- unaffected
firefox70 --- fix-optional

People

(Reporter: barret, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [rdm-reserve])

STR:

  1. Go to example.com
  2. Enter RDM
  3. Navigate to another page (e.g., google.com)
  4. Leave RDM
  5. Force-close the browser
  6. Start the browser
  7. Restore session

ER:
The URL bar should contain the correct URL, not example.com

AR:
You will be at the second page (google.com in this example) but the URL bar will contain example.com

After further investigation, on beta the wrong page will be restored (e.g., example.com) but the URLbar will contain the matching URL (example.com). This is really only an issue on Nightly.

Version: 69 Branch → 70 Branch

Upon further further investigation, this is not because of bug 1510569. (I had just assumed it was because this seemed similar to the other RDM bug (bug 1562821)).

:alchen, you've been working on session restore lately. Have you seen this? Do you know if this is because of your work?

Assignee: brennie → nobody
Status: ASSIGNED → NEW
No longer depends on: 1562821
Flags: needinfo?(alchen)
No longer regressed by: 1510569

I will be off until next Thursday.
From comment 1, it is an issue happened on Nightly.
Request a regression-window-wanted first.

Flags: needinfo?(alchen)

This is the regression window I got - https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=50fec259d5a66e44a087253fa5f9f805d32e8ef3&tochange=ad05396bfeed949a112401d661c5d943f775f761

Note that sometimes after the Step 4 (Leave RDM) in STR in comment 0 , I saw the URL became "example.com" while I stayed at the google.com page, even without force-quit and restore.

:hsinyi, the patch for bug 1562821 fixes that issue but not the session restore bit.

Blocks: rdm-tunnel
Priority: -- → P3
Whiteboard: [rdm-reserve]

Updating the regression keywords based on comment 4.

Has Regression Range: --- → yes
Has STR: --- → yes

Can you mark up which branches are affected here? Is it just 70, and if so, any chance we'll fix this in 70 as well?

Flags: needinfo?(brennie)

This only affects 70.

Flags: needinfo?(brennie)

Happy to take a patch for 70 but marking fix-optional to remove this from our weekly triage.

You need to log in before you can comment on or make changes to this bug.