Closed
Bug 1499363
Opened 7 years ago
Closed 7 years ago
Perma X failures in xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_userScripts.js when Gecko 64 merges to Beta on 2018-10-15
Categories
(WebExtensions :: General, defect)
WebExtensions
General
Tracking
(firefox-esr60 unaffected, firefox62 unaffected, firefox63 unaffected, firefox64+ verified)
VERIFIED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox62 | --- | unaffected |
| firefox63 | --- | unaffected |
| firefox64 | + | verified |
People
(Reporter: ebalazs_, Assigned: robwu)
References
Details
Attachments
(1 file)
Central as Beta:
https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed,busted,exception,retry,runnable&revision=98cb87e22c2cefda4c6750727b5b00e2be35e8b6&selectedJob=205799375
Failure log:
https://treeherder.mozilla.org/logviewer.html#?job_id=205785981&repo=try&lineNumber=1670
https://treeherder.mozilla.org/logviewer.html#?job_id=205801414&repo=try&lineNumber=2373
robwu: Hi, This is a regression from https://bugzilla.mozilla.org/show_bug.cgi?id=1491397. Can you have a look? Thanks!
Flags: needinfo?(rob)
| Assignee | ||
Comment 1•7 years ago
|
||
Thanks for the report.
The test failure is because this feature is disabled by default on non-Nightly.
At the start of the test file, the preference is flipped to enable the feature.
At the end of the test (before my new test), the runWithPrefs method is used to temporarily toggle the pref. This helper function does however not account for the original value; it simply clears the preference instead of pushing/popping the stack of overridden prefs.
I intend to fix this by changing the the test and implementation of runWithPrefs to use SpecialPowers.pushPrefEnv and SpecialPowers.popPrefEnv instead of the current Services.prefs.setBoolPref + Services.prefs.clearUserPref.
Flags: needinfo?(rob)
Updated•7 years ago
|
Assignee: nobody → rob
Comment 2•7 years ago
|
||
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/99d43f9d3918
Fix userScript test failure on beta due to runWithPrefs not restoring the initial prefs values. r=robwu
Comment 4•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Comment 5•7 years ago
|
||
Verified fixed with today's beta simulation: https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Crunnable&revision=f7ac7e6ce3518f18d06ad07ee080d219dc16cf33&selectedJob=206668654
Status: RESOLVED → VERIFIED
| Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•