Add a mechanism to test server-side Resource listener while they're not enabled yet
Categories
(DevTools :: Framework, task)
Tracking
(firefox79 fixed)
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
(Whiteboard: dt-fission-m2-mvp)
Attachments
(1 file)
At the moment, the resource listeners we have on the server are disabled, which means we could break them without noticing it, as no test will trigger them.
We should have a mechanism to force the server side support from a given test, and use that at least in the devtools/shared/resources/tests/browser_resources_*
tests which have both a legacy and a server listener.
Assignee | ||
Comment 1•5 years ago
|
||
This is done by getting the value of the devtools.testing.enableServerWatcherSupport
preference on the WatcherActor, and using its result to enable the traits or not.
On the browser_resources_* test that have both legacy and server listener, we
run the tests twice, without and with the pref to have some decent coverage.
Comment 3•5 years ago
|
||
Backed out changeset 40dae06d5e4d (bug 1646678) for Devtools failures in tests/browser_resources_several_resources.js. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=306814572&repo=autoland&lineNumber=25672
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&revision=40dae06d5e4dc28c1cc66b7980cbc7b0437a0b3b
Backout:
https://hg.mozilla.org/integration/autoland/rev/5acd8c4fc32a960ff0cd9efc62435a167abe42ce
Comment 5•5 years ago
|
||
Backed out changeset b09c7ddea2a4 (bug 1646678) for causing leaks
Backout: https://hg.mozilla.org/integration/autoland/rev/d26c7e854d7b15269b56f232d5c39258746c072e
Failure push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=b09c7ddea2a4f6fd64cbb16e1e93d54c1ec8cf60
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=307210879&repo=autoland&lineNumber=27052
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Description
•