Consider reading extensions.webextensions.remote once
Categories
(WebExtensions :: General, enhancement, P3)
Tracking
(firefox74 fixed)
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: robwu, Assigned: robwu)
References
Details
Attachments
(3 files)
Our code is not designed to account for changes to the extensions.webextensions.remote preference when an extension has started. Bug 1501375 is an example of a shutdown hang caused by an unexpected preference value flip. We should consider reading the preference value only once (at start-up), and fix our tests to not rely on the ability to flip the preference value at runtime.
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
This pref is probably going to be removed soon, when we drop (testing) support for in-process WebExtensions.
Comment 2•4 years ago
|
||
(In reply to Rob Wu [:robwu] from comment #1)
This pref is probably going to be removed soon, when we drop (testing) support for in-process WebExtensions.
Do we have a bug on that, and is something for android blocking it?
Assignee | ||
Comment 3•4 years ago
|
||
The devtools tests are already unconditionally disabled (bug 1467313),
so there is no loss of coverage by removing the in-process test
scenario.
The other two tests already pass without disabling remote extensions.
Assignee | ||
Comment 4•4 years ago
|
||
This is the counterpart to test_verify_remote_mode.html
Assignee | ||
Comment 5•4 years ago
|
||
Assignee | ||
Comment 6•4 years ago
|
||
There will be a follow-up to remove support for the preference on desktop in bug 1613141.
Pushed by rob@robwu.nl: https://hg.mozilla.org/integration/autoland/rev/82f81e2c5a27 Remove runtime changes to remote extension pref in mochitests r=mixedpuppy https://hg.mozilla.org/integration/autoland/rev/fd8ff6dd12db Test to verify that mochitests run with in-process extensions r=mixedpuppy https://hg.mozilla.org/integration/autoland/rev/266c3a19fac5 Read extensions.webextensions.remote once r=mixedpuppy
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/82f81e2c5a27
https://hg.mozilla.org/mozilla-central/rev/fd8ff6dd12db
https://hg.mozilla.org/mozilla-central/rev/266c3a19fac5
Comment 9•4 years ago
|
||
Hello,
Will this fix require manual validation? If yes, please provide some steps to reproduce in order to correctly test it and also, please set the "qe-verify+" flag. Otherwise, could the "qe-verify-" flag be added?
Thanks!
Description
•