Closed
Bug 1357098
Opened 8 years ago
Closed 8 years ago
Pinned tabs are not restored after browser restart
Categories
(Firefox :: Session Restore, defect)
Tracking
()
VERIFIED
FIXED
Firefox 55
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox53 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | verified |
People
(Reporter: aleksandrs, Assigned: mconley)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file)
Steps:
1. Created new profile
2. Navigated to "example.com" page
3. Pinned "example.com" tab
4. Opened new window
5. Navigated to "example.org" in a new window
6. Pinned "example.org" tab
7. Closed browser
8. Reopened browser
Result:
Browser started with two windows. Only "example.com" pinned tab has been restored in its window. Second window contains two blank tabs. "example.org" pinned tab has been lost
Expected result:
Browser starts with two windows. Both "example.com" and "example.com" are pinned and available in respective windows.
Reporter | ||
Comment 1•8 years ago
|
||
Correction
> Both "example.com" and "example.com" are pinned and available in respective windows.
should be read as
> Both "example.com" and "example.org" are pinned and available in respective windows.
Reporter | ||
Comment 2•8 years ago
|
||
FWIW, right after relaunch browser console contains error - "TypeError: tabAtTargetIndex is undefined" with backtrace to https://dxr.mozilla.org/mozilla-central/rev/c697e756f738ce37abc56f31bfbc48f55625d617/browser/components/sessionstore/SessionStore.jsm#3329
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
status-firefox53:
--- → unaffected
status-firefox55:
--- → affected
Ever confirmed: true
Keywords: regression
Comment 3•8 years ago
|
||
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=05ba929d3d1b5d678960a89210ead7d8d6dd4541&tochange=77a91768f10977b06436d79e4551d5c257ae4c32
Blocks: 1351677
Updated•8 years ago
|
status-firefox54:
--- → unaffected
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(mconley)
Assignee | ||
Comment 4•8 years ago
|
||
Thanks for the bug report! I guess I missed a case here. Investigating...
Assignee: nobody → mconley
Flags: needinfo?(mconley)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•8 years ago
|
||
I thought it'd be straight-forward to write a test for this. I was wrong. It appears as if _prepDataForDeferredRestore is only ever called when initting the session, and I don't believe I can trigger that from a Mochitest. That leaves Firefox UI Tests. Unfortunately, I can't seem to pin tabs from that framework. :/
Comment 7•8 years ago
|
||
(In reply to Mike Conley (:mconley) - PTO until April 27th. from comment #6)
> That leaves Firefox UI Tests. Unfortunately, I can't seem to pin tabs from that
> framework. :/
Any thoughts on that, Henrik?
Flags: needinfo?(hskupin)
Updated•8 years ago
|
Blocks: ss-reliability
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8861666 [details]
Bug 1357098 - Fix off-by-one error in SessionStore when preparing deferred restore data.
https://reviewboard.mozilla.org/r/133656/#review136670
Well, kudos for finding this, Mike. Thanks!
Attachment #8861666 -
Flags: review?(mdeboer) → review+
Comment 9•8 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #7)
> (In reply to Mike Conley (:mconley) - PTO until April 27th. from comment #6)
> > That leaves Firefox UI Tests. Unfortunately, I can't seem to pin tabs from that
> > framework. :/
We don't have an implementation yet which uses the UI to pin a tab. But if calling a GeckoAPI is fine in this case it wouldn't matter. You can just do it. There is no restriction in that you only have to use the provided classes from Firefox Puppeteer.
Flags: needinfo?(hskupin)
Comment 10•8 years ago
|
||
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/df0562354e0b
Fix off-by-one error in SessionStore when preparing deferred restore data. r=mikedeboer
Comment 11•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•8 years ago
|
status-firefox-esr52:
--- → unaffected
Comment 12•8 years ago
|
||
The issue is no longer reproducible on Firefox Nightly 55.0a1 (build ID: 20170503030212).
Test were performed under Windows 10x64.
[bugday-20170503]
Comment 13•8 years ago
|
||
¡Hola Fahima!
Thanks on verifying.
¡Gracias!
Alex
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Flags: in-qa-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•