Closed Bug 1801061 Opened 2 years ago Closed 1 year ago

No previous Windows and Tabs displayed under "Restore only the ones you want" on Success page

Categories

(Firefox :: Session Restore, defect, P1)

defect

Tracking

()

VERIFIED FIXED
109 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox107 --- wontfix
firefox108 + verified
firefox109 + verified

People

(Reporter: epopescu, Assigned: itiel_yn8)

References

(Regression)

Details

(Keywords: dataloss, regression)

Attachments

(3 files)

Found in

  • Firefox 108.0b2

Affected versions

  • Firefox 108.0b2
  • Nightly 109.0a1
  • Firefox 107.0

Tested platforms

  • Windows 10
  • macOS13 Ventura
  • Ubuntu 22.04

Preconditions

  • Firefox installed

Steps to reproduce

  1. Launch Firefox
  2. Open several windows with tabs
  3. Load in each tabs some random websites
  4. Go to about:support
  5. Click on "Refresh Firefox..." button and again "Refresh Firefox" in the pop-up that appears on screen
  6. On the Success page, select "Restore only the ones you want"

Expected result

  • Under "Restore only the ones you want" there should be the previous opened windows and corresponding tabs.

Actual result

  • Under "Restore only the ones you want" no previous windows and tabs are displayed.

Regression range

I checked manually the regression for this issue and noticed that the first affected Nightly build is from 17-10-2022 while the issue can not be reproduced in the previous build from 16-10-2022.
We searched through the pushlogs from this time range and a possible culprit might be Bug 1169529.
Maybe this might help when looking into this.

QA Whiteboard: regressionwindow-wanted
Severity: -- → S3
Has STR: --- → yes

:epopescu, if you think that's a regression, could you try to find a regression range using for example mozregression?

QA Whiteboard: regressionwindow-wanted
Regressed by: 1169529

:itiel_yn8, since you are the author of the regressor, bug 1169529, could you take a look?

For more information, please visit auto_nag documentation.

Flags: needinfo?(itiel_yn8)
Keywords: regression
Priority: -- → P1
Assignee: nobody → itiel_yn8
Status: NEW → ASSIGNED
Pushed by itiel_yn8@walla.com:
https://hg.mozilla.org/integration/autoland/rev/5998b7a73bd9
Consolidate some logic between about:sessionrestore and about:welcomeback r=Gijs

Backed out for causing failures on browser_aboutSessionRestore.js

20:09:02 INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_590563.js | Uncaught exception in test - undefined - threw exception: TypeError: Window.getComputedStyle: Argument 1 is not an object.
20:09:45 INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_aboutSessionRestore.js | Uncaught exception in test - at chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_aboutSessionRestore.js:31 - TypeError: can't access property "isContainer", view is null
20:09:46 INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_aboutSessionRestore.js | Found an unexpected tab at the end of test run: about:sessionrestore -
Flags: needinfo?(itiel_yn8)
Flags: needinfo?(itiel_yn8)

Backed out for causing bc failures on browser_aboutSessionRestore.js.

Push with failures

Failure log

Backout link

[task 2022-11-29T18:53:43.711Z] 18:53:43     INFO - TEST-START | browser/components/sessionstore/test/browser_aboutSessionRestore.js
[task 2022-11-29T18:53:43.764Z] 18:53:43     INFO - TEST-INFO | started process screencapture
[task 2022-11-29T18:53:43.888Z] 18:53:43     INFO - TEST-INFO | screencapture: exit 0
[task 2022-11-29T18:53:43.888Z] 18:53:43     INFO - Buffered messages logged at 18:53:43
[task 2022-11-29T18:53:43.888Z] 18:53:43     INFO - Entering test bound 
[task 2022-11-29T18:53:43.889Z] 18:53:43     INFO - TEST-PASS | browser/components/sessionstore/test/browser_aboutSessionRestore.js | we have more than one tab - 
[task 2022-11-29T18:53:43.889Z] 18:53:43     INFO - Buffered messages finished
[task 2022-11-29T18:53:43.890Z] 18:53:43     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_aboutSessionRestore.js | Uncaught exception in test - at chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_aboutSessionRestore.js:31 - TypeError: can't access property "isContainer", view is null
[task 2022-11-29T18:53:43.890Z] 18:53:43     INFO - Stack trace:
[task 2022-11-29T18:53:43.890Z] 18:53:43     INFO - @chrome://mochitests/content/browser/browser/components/sessionstore/test/browser_aboutSessionRestore.js:31:3
[task 2022-11-29T18:53:43.891Z] 18:53:43     INFO - Leaving test bound 
[task 2022-11-29T18:53:44.216Z] 18:53:44     INFO - GECKO(2230) | MEMORY STAT | vsize 16549MB | residentFast 519MB | heapAllocated 140MB
[task 2022-11-29T18:53:44.217Z] 18:53:44     INFO - TEST-OK | browser/components/sessionstore/test/browser_aboutSessionRestore.js | took 506ms
[task 2022-11-29T18:53:44.218Z] 18:53:44     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-11-29T18:53:44.218Z] 18:53:44     INFO - TEST-UNEXPECTED-FAIL | browser/components/sessionstore/test/browser_aboutSessionRestore.js | Found an unexpected tab at the end of test run: about:sessionrestore - 
[task 2022-11-29T18:53:44.229Z] 18:53:44     INFO - checking window state
[task 2022-11-29T18:53:44.236Z] 18:53:44     INFO - TEST-START | browser/components/sessionstore/test/browser_async_duplicate_tab.js
Flags: needinfo?(itiel_yn8)
Flags: needinfo?(itiel_yn8)
Flags: needinfo?(itiel_yn8)
Pushed by itiel_yn8@walla.com:
https://hg.mozilla.org/integration/autoland/rev/39352facd261
Consolidate some logic between about:sessionrestore and about:welcomeback r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch

The patch landed in nightly and beta is affected.
:itiel_yn8, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox108 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(itiel_yn8)
Flags: qe-verify+

[Tracking Requested - why for this release]:
This regression has a data-loss impact, when users refresh the profile via about:support.

I would want to request uplift for this but I don't feel confident about the safety of the patch without some QE testing, but this could take a while.
OTOH, this patch alone is a pure improvement over the status quo...
Gijs, what do you think?

Flags: needinfo?(itiel_yn8) → needinfo?(gijskruitbosch+bugs)
Keywords: dataloss

(moving tracking request to 108 given that this is about uplifts)

(In reply to Itiel from comment #11)

This regression has a data-loss impact, when users refresh the profile via about:support.

I would want to request uplift for this but I don't feel confident about the safety of the patch without some QE testing, but this could take a while.
OTOH, this patch alone is a pure improvement over the status quo...
Gijs, what do you think?

I feel similarly. Unfortunately we're out of betas - https://whattrainisitnow.com/release/?version=beta .

The patch reorganizes enough that it's not entirely risk-free. Is there a more minimal fix we could apply for beta/rc/108?

Flags: needinfo?(gijskruitbosch+bugs) → needinfo?(itiel_yn8)

The best I can think of is to add this to aboutWelcomeBack.css:

.container.restore-chosen {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
}

... but I don't have mozilla-unified set up over here to make a patch and it could take a while until it does...

Flags: needinfo?(itiel_yn8)

Is a revert of https://hg.mozilla.org/mozilla-central/rev/72161d401731 for 108 an option otherwise?

(In reply to Ryan VanderMeulen [:RyanVM] from comment #14)

Is a revert of https://hg.mozilla.org/mozilla-central/rev/72161d401731 for 108 an option otherwise?

Yes.

I have reproduced this issue using Firefox 108.0b2 on Win 10 x64.
I can confirm this issue is fixed, I verified using Firefox 108.0.1, Fx 109.0.1 and on Fx 110.0 on Win 10, macOS 12 and Ubuntu 22.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: