Last tab opened is not restored after restart
Categories
(Core :: DOM: Navigation, defect, P3)
Tracking
()
Fission Milestone | M6c |
People
(Reporter: mconca, Unassigned)
References
Details
Attachments
(1 file)
9.54 MB,
video/mp4
|
Details |
With Fission enabled, the last tab opened is not restored to the correct URL.
STR
- Create a new profile
- Leave the two default pages open (first run, privacy notice) - not sure if strictly necessary
- In about:prefs, enable automatic session restore
- In about:config, set both fission.autostart and fission.sessionHistoryInParent to true
- Open a new tab
- Enter any URL, wait for page to load
- Restart browser
Expected Results
Browser opens and the URL entered in step 6 above is loaded
Actual Results
Browser opens and shows the new tab page (pocket stories, etc.)
Comment 1•4 years ago
|
||
Unable to repro with these STR. Mike, is this still reliably happening for you?
Reporter | ||
Comment 2•4 years ago
|
||
(In reply to Neha Kochar [:neha] from comment #1)
Unable to repro with these STR. Mike, is this still reliably happening for you?
Kinda...
The behavior has changed, and isn't as consistent. For step 6, use espn.com and then continue, adding:
- espn.com site probably restored with focus. Close that tab.
- Open a new tab, go to espn.com again
- Restart browser
Most of the time now, that espn.com tab never restores, but twice it restored simply to the new tab page.
Comment 3•4 years ago
|
||
I don't know what's different but I'm still unable to repro with my default profile as well as with a new fission profile.
Comment 4•4 years ago
|
||
Mike, since I'm unable to repro, I'm going to ask you to try with only fission.autostart (it internally implicitly uses SHIP codepath now) and see if you can still repro. Thanks for your help. :)
Reporter | ||
Comment 5•4 years ago
|
||
I can definitely still reproduce it on the current Nightly, although this time I had to repeat the close tab-->open new tab-->go to URL-->restart sequence twice to get it to happen.
I made a video of what I'm doing, in case it provides any insight (like I'm doing something odd). The tool I used to record doesn't show menus or modal dialogs, so you'll notice about:preferences "magically" appears when I select it from the invisible menu, and the browser "magically" restarts after I set the Fission pref to true because it asked to restart and I said yes.
Reporter | ||
Comment 6•4 years ago
|
||
Also, this happening on Windows 10, in case the platform makes a difference.
Comment 7•4 years ago
|
||
Mike, can you still reproduce this bug?
This broke because the fission.sessionHistoryInParent behavior was taking effect immediately, but fission.autostart didn't take effect until after Firefox restarts. Peter recently changed sessionHistoryInParent to only take effect on restart.
btw, the sessionHistoryInParent functionality is automatically enabled (but not the fission.sessionHistoryInParent
pref, so you should ignore that pref) when fission.autostart
is enabled.
Reporter | ||
Comment 8•4 years ago
|
||
(In reply to Chris Peterson [:cpeterson] from comment #7)
Mike, can you still reproduce this bug?
Yes, this still reproduced on the latest Nightly. Current STR:
- Create a new profile
- Leave the two default pages open (first run, privacy notice) - not sure if strictly necessary
- In about:prefs, enable automatic session restore
- In about:config, set fission.autostart (restart browser when prompted by Firefox)
- Open a new tab
- Enter espn.com in URL bar, wait for page to load
- Restart browser
- espn.com site probably restored with focus. Close that tab.
- Open a new tab, go to espn.com again
- Restart browser
The espn.com page will often be either the new tab page, or won't even restore at all.
Reporter | ||
Comment 9•4 years ago
|
||
I played with this some more. On step 9, I can most successfully repeat this if I close the browser immediately after the throbber stops throbbing in the espn.com tab. This site has a lot of iframes, and visually it looks like the throbber stops when the main content is loaded but several iframes are still waiting for content. Maybe a clue?
Comment 10•4 years ago
|
||
Doesn't need to block the experiment launch. I'll try reproducing again tomorrow with these STR. Thanks mconca!
Comment 11•4 years ago
|
||
I still can't reproduce. Randell, can you try and repro and maybe figure out the problem here?
Comment 12•4 years ago
|
||
Reproduces easily - appear to be a dup of bug 1672175 -- basically there's a ~15 second timer which saves the state; the state is not being saved on a clean exit. So repro depends on if 15 seconds (or whatever) has passed since you made a history change (which should be when you start loading the page IIRC).
Description
•