Closed Bug 1676417 Opened 5 years ago Closed 5 years ago

Perma browser/components/places/tests/browser/browser_autoshow_bookmarks_toolbar.js | Uncaught exception - Toolbar should be shown. - timed out after 50 tries. when Gecko 84 merges to Beta on 2020-11-16

Categories

(Firefox :: Bookmarks & History, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
84 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox82 --- unaffected
firefox83 --- unaffected
firefox84 + verified

People

(Reporter: aryx, Assigned: Gijs)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

central-as-beta simulation
Failure log

[task 2020-11-10T14:21:05.615Z] 14:21:05     INFO - TEST-PASS | browser/components/places/tests/browser/browser_autoshow_bookmarks_toolbar.js | Bookmarks toolbar should start out collapsed. - true == true - 
[task 2020-11-10T14:21:05.615Z] 14:21:05     INFO - Buffered messages logged at 14:21:00
[task 2020-11-10T14:21:05.615Z] 14:21:05     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2020-11-10T14:21:05.616Z] 14:21:05     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2020-11-10T14:21:05.616Z] 14:21:05     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2020-11-10T14:21:05.617Z] 14:21:05     INFO - Console message: [JavaScript Error: "uncaught exception: Object"]
[task 2020-11-10T14:21:05.617Z] 14:21:05     INFO - Buffered messages finished
[task 2020-11-10T14:21:05.618Z] 14:21:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/browser_autoshow_bookmarks_toolbar.js | Uncaught exception - Toolbar should be shown. - timed out after 50 tries.
[task 2020-11-10T14:21:05.618Z] 14:21:05     INFO - Leaving test bound test_new_on_toolbar
Flags: needinfo?(gijskruitbosch+bugs)
Assignee: nobody → gijskruitbosch+bugs
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(gijskruitbosch+bugs)
OS: Unspecified → All
Priority: -- → P1
Hardware: Unspecified → Desktop

The browser_autoshow_bookmarks_toolbar.js test pushPrefEnv's the 2020h2 pref,
but because the getter for the default location of bookmarks caches the pref
value for the default location, and doesn't update when the 2020h2 pref
changes, we continue returning the 'unfiled' folder from the pref getter if
the getter has been previously accessed (e.g. when the tests are run in a
directory).

To fix this, decouple the check for the 2020h2 pref from the preference
getter for the default location.

Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/d3281939949e fix use of 2020h2 bookmarks pref in the default location pref getter in PlacesUIUtils to unbreak beta tests, r=jaws
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch

Verified fixed with yesterday's central-as-beta simulation.

Status: RESOLVED → VERIFIED
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: