Fix broken default theme check for the early blank window in BrowserGlue.js
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox66 | --- | unaffected |
| firefox67 | --- | unaffected |
| firefox68 | + | fixed |
People
(Reporter: dao, Assigned: myk)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
See https://phabricator.services.mozilla.com/D25678#inline-149937
Apparently that comment wasn't addressed before landing.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 1•2 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #0)
See https://phabricator.services.mozilla.com/D25678#inline-149937
Apparently that comment wasn't addressed before landing.
I replied to your comment. I don't see the issue. If you can explain it more clearly, perhaps I can do something about it.
| Reporter | ||
Comment 2•2 years ago
|
||
(In reply to Kris Maglione [:kmag] from comment #1)
(In reply to Dão Gottwald [::dao] from comment #0)
See https://phabricator.services.mozilla.com/D25678#inline-149937
Apparently that comment wasn't addressed before landing.
I replied to your comment.
I don't see it. Is your comment submitted?
I don't see the issue. If you can explain it more clearly, perhaps I can do something about it.
This:
if (Services.prefs.getCharPref("extensions.activeThemeID", "") !=
"default-theme@mozilla.org")
is supposed to detect non-default themes. As far as I can tell, extensions.activeThemeID isn't set by default in all.js or firefox.js, and so when the user never selected a theme, the second argument to getCharPref, the empty string, will be used as a fallback, and that's not going to match "default-theme@mozilla.org".
| Reporter | ||
Comment 3•2 years ago
|
||
[Tracking Requested - why for this release]: This likely regresses bug 1485629.
Updated•2 years ago
|
| Assignee | ||
Comment 4•2 years ago
|
||
Pushed by myk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a5852f84bd26 Fix broken default theme check for early blank window. r=kmag,dao
Comment 6•2 years ago
|
||
Backed out for perma fails on browser/base/content/test/performance/browser_startup.js
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=240200371&repo=autoland&lineNumber=2587
[task 2019-04-14T01:03:24.159Z] 01:03:24 INFO - TEST-START | browser/base/content/test/performance/browser_startup.js
[task 2019-04-14T01:03:25.776Z] 01:03:25 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup.js | should have no unexpected modules loaded before profile selection - Got 1, expected 0
[task 2019-04-14T01:03:25.777Z] 01:03:25 INFO - Stack trace:
[task 2019-04-14T01:03:25.778Z] 01:03:25 INFO - chrome://mochikit/content/browser-test.js:test_is:1325
[task 2019-04-14T01:03:25.778Z] 01:03:25 INFO - chrome://mochitests/content/browser/browser/base/content/test/performance/browser_startup.js:null:201
[task 2019-04-14T01:03:25.779Z] 01:03:25 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1116
[task 2019-04-14T01:03:25.780Z] 01:03:25 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1144
[task 2019-04-14T01:03:25.781Z] 01:03:25 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1005
[task 2019-04-14T01:03:25.782Z] 01:03:25 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
[task 2019-04-14T01:03:25.783Z] 01:03:25 INFO - Not taking screenshot here: see the one that was previously logged
Backout: https://hg.mozilla.org/integration/autoland/rev/2861cc36215463fc67cbd217c3eb7f3a62115097
| Reporter | ||
Comment 7•2 years ago
|
||
You probably need to revert and update this: https://hg.mozilla.org/mozilla-central/diff/83612982ab33/browser/base/content/test/performance/browser_startup.js
| Reporter | ||
Updated•2 years ago
|
| Assignee | ||
Comment 8•2 years ago
|
||
In bug 1541798, comment 7, dao wrote:
You probably need to revert and update this: https://hg.mozilla.org/mozilla-central/diff/83612982ab33/browser/base/content/test/performance/browser_startup.js
Ah, right, this version reverts and updates that code.
Here's a tryserver run for the test group that failed the last time around:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0a36b6de0c6007705062219cc6309bc14c1bc369
Pushed by myk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6d2077420c62 Fix broken default theme check for early blank window. r=dao
| Assignee | ||
Comment 10•2 years ago
|
||
I fixed the test failure in the first patch and autolanded a new version of the patch.
Comment 11•2 years ago
|
||
| bugherder | ||
Updated•2 years ago
|
Description
•