Closed Bug 1332612 Opened 7 years ago Closed 7 years ago

Perma failure in browser_970511_undo_restore_default.js | Theme reset to default - Got [object Object], expected null when trunk moves to aurora

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
blocker

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cbook, Assigned: Gijs)

References

(Blocks 1 open bug, )

Details

Attachments

(1 obsolete file)

Found via uplift simulations 

TEST-UNEXPECTED-FAIL | browser/components/customizableui/test/browser_970511_undo_restore_default.js | Theme reset to default - Got [object Object], expected null 

https://treeherder.mozilla.org/logviewer.html#?job_id=70596451&repo=try&lineNumber=2788

Gijs could you take a look again ?
Flags: needinfo?(gijskruitbosch+bugs)
Assignee: nobody → gijskruitbosch+bugs
Blocks: 1306561
Status: NEW → ASSIGNED
Flags: needinfo?(gijskruitbosch+bugs)
browser_1007336_lwthemes_in_customize_mode.js is also failing, sigh.
In fact, just fixing the tests here isn't going to work, because bug 1306561 made CUI use:

    if (Services.prefs.getDefaultBranch("").getCharPref(kPrefSelectedThemeID) !=
        Services.prefs.getCharPref(kPrefSelectedThemeID)) {


This doesn't work, because for tests the test config with prefs_general.js uses user_pref to change the pref value to "", which means that these values are different and the result is failing this check and therefore failing tests, like the oodles of failures in the windows bc3 runs on https://treeherder.mozilla.org/#/jobs?repo=try&revision=1ae830802da242e39f31edb3926547b75b105a45&selectedJob=70610880 .

The simplest thing here is just going to be to back out and reopen 1306561. Merge day is on Monday and revamping how we set the default for tests, or removing that pref set without any ideas what else it'll affect/break is a bad idea.
Attachment #8829176 - Attachment is obsolete: true
Attachment #8829176 - Flags: review?(dao+bmo)
Resolved via backout of bug 1306561.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: