Importing ExperimentManager has side-effects
Categories
(Firefox :: Nimbus Desktop Client, defect, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | fixed |
People
(Reporter: beth, Assigned: beth)
References
Details
Attachments
(17 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1950237 - Use ExperimentAPI.manager in toolkit/components/backgroundtasks r?nalexander,bytesized
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Importing ExperimentManager.sys.mjs has side-effects; it will instantiate a global ExperimentManager instance that registers pref listeners. This is really only a problem for unit tests, but it is quite frustrating to deal with.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 5•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
| Assignee | ||
Comment 6•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
| Assignee | ||
Comment 7•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
| Assignee | ||
Comment 8•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
| Assignee | ||
Comment 9•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
| Assignee | ||
Comment 10•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
| Assignee | ||
Comment 11•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
Comment 12•1 year ago
|
||
Comment 13•1 year ago
|
||
| bugherder | ||
Comment 14•1 year ago
|
||
Comment 15•1 year ago
|
||
Comment 16•1 year ago
|
||
Backed out for causing bc failures @browser_experimental_features.js.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 17•1 year ago
|
||
Comment 18•1 year ago
|
||
Comment 19•1 year ago
|
||
Comment 20•1 year ago
|
||
| bugherder | ||
Comment 21•1 year ago
|
||
Updated•1 year ago
|
Comment 22•1 year ago
|
||
Comment 23•1 year ago
|
||
Comment 24•1 year ago
|
||
| bugherder | ||
Comment 25•1 year ago
|
||
Updated•1 year ago
|
Comment 26•1 year ago
|
||
Comment 27•1 year ago
|
||
| Assignee | ||
Comment 28•1 year ago
|
||
This is useful in test utilities used across browser tests and xpcshell
tests because in browser tests the ExperimentAPI will be initialized via
category manager (via Normandy.init) and therefore know if we have to
shut down the ExperimentAPI at the end of the test.
Updated•1 year ago
|
Comment 29•1 year ago
|
||
Comment 30•1 year ago
|
||
Backed out for causing xpc failures @ test_dap.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/d1a78697ae15eaf2c7e7f2d97e60c469329e8eb0
Failure log -> TEST-UNEXPECTED-FAIL | toolkit/components/telemetry/dap/tests/xpcshell/test_dap.js
Comment 31•1 year ago
|
||
| bugherder | ||
Comment 32•1 year ago
|
||
Comment 33•1 year ago
|
||
Comment 34•1 year ago
|
||
Comment 35•1 year ago
|
||
Comment 36•1 year ago
|
||
Backed out for causing xpc failures @test_TelemetryReportingPolicy.js.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 37•1 year ago
|
||
Updated•1 year ago
|
Comment 38•1 year ago
|
||
Comment 39•1 year ago
|
||
Comment 40•1 year ago
|
||
Comment 41•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Updated•1 year ago
|
Comment 42•1 year ago
|
||
Comment 43•1 year ago
|
||
Comment 44•1 year ago
|
||
Backed out for causing multiple ExperimentManager related mochitest failures and xpcshell failures on test_prefFlips.js
Failure logs can be found and opened selecting from the failures seen in above link.
| Assignee | ||
Updated•1 year ago
|
Comment 45•1 year ago
|
||
Comment 46•1 year ago
|
||
Comment 47•1 year ago
|
||
Backed out for causing bc failures
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | devtools/client/styleeditor/test/browser_styleeditor_enabled.js | A promise chain failed to handle a rejection: can't access property "ready", ExperimentManager.store is undefined - stack: normandy@resource://gre/modules/Troubleshoot.sys.mjs:1021:9
Failure log:https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&selectedTaskRun=BrRJZD5lTXa0LwGv1pSDaA.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=644b7e87a953d1532f355d5fd0548c62b42679ad
Line: TEST-UNEXPECTED-FAIL | browser/components/places/tests/browser/interactions/browser_interactions_view_time.js | A promise chain failed to handle a rejection: can't access property "ready", ExperimentManager.store is undefined - stack: normandy@resource://gre/modules/Troubleshoot.sys.mjs:1021:9
And other from the link "Push with failures"
| Assignee | ||
Comment 48•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
| Assignee | ||
Comment 49•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
| Assignee | ||
Comment 50•1 year ago
|
||
As part of this bug, the global ExperimentManager will no longer be
exported from ExperimentManager.sys.mjs and will only be available as a
property on the ExperimentAPI.
| Assignee | ||
Updated•1 year ago
|
Comment 51•1 year ago
|
||
Comment 52•1 year ago
|
||
Comment 53•1 year ago
|
||
| bugherder | ||
Comment 54•1 year ago
|
||
| Assignee | ||
Updated•1 year ago
|
Comment 55•1 year ago
|
||
Comment 56•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c983c77da256
https://hg.mozilla.org/mozilla-central/rev/8ae195eb4269
https://hg.mozilla.org/mozilla-central/rev/6ecc4f6f627d
Description
•