Stop setting javascript.options.asyncstack_capture_debuggee_only manually from devtools mochitests
Categories
(DevTools :: General, task, P3)
Tracking
(firefox131 fixed)
Tracking | Status | |
---|---|---|
firefox131 | --- | fixed |
People
(Reporter: jdescottes, Assigned: Gijs)
References
Details
Attachments
(1 file)
In Bug 1822618, javascript.options.asyncstack_capture_debuggee_only
is now set to false
by default for mochitests.
This means we could cleanup a bit the devtools test codebase, which was manually setting this preference to false from shared-head.js as well as in some other tests:
Reporter | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•7 months ago
|
||
Updated•7 months ago
|
Comment 3•7 months ago
|
||
Backed out for causing browser_net_accessibility related devtools failures.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | devtools/client/netmonitor/test/browser_net_accessibility-01.js | The selected item in the requests menu was incorrect. - Got 2, expected 1
Comment 4•6 months ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:Gijs, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 5•6 months ago
|
||
Yes, I'm just busy...
Assignee | ||
Comment 6•5 months ago
|
||
Assignee | ||
Comment 7•5 months ago
|
||
(In reply to :Gijs (he/him) from comment #6)
https://treeherder.mozilla.org/jobs?repo=try&revision=d4785112bbf60976ed9185ff1336844468d912b3
lol, this is just a rebase but it's green?
So I guess I'll just reland...
Reporter | ||
Comment 8•5 months ago
|
||
I tried to investigate a bit, but could not really identify why this works now.
The initial failure was due to the fact that initNetMonitor
was a bit faster with your patch (because it removed an await to set the preference), and sometimes the netmonitor would unexpectedly pickup a failed (?) request from the page. With this additional request in the requests list, the asserts would randomly fail (more or less depending on where the additional request ended up in the list).
With more recent builds this no longer happens, the document request no longer shows up during the test. I suspected a few changes we did around network events for devtools but they seem unrelated. Anyway, the initial backout was only a side effect from your patch which only exposed the fragility of one of our netmonitor tests, so hopefully it sticks now.
Reporter | ||
Comment 10•5 months ago
|
||
I think I identified the culprit: the failed request was showing up because of Bug 1903292. Since this was fixed we no longer have the problem
Comment 11•5 months ago
|
||
bugherder |
Comment 12•5 months ago
|
||
I came here worried that this might not be working for a11y tests for some reason because we had to explicitly set it in bug 1822225. It turns out that I landed the patch in bug 1822225 two days before the patch in bug 1822618! That is, the latter patch invalidated the need for the former, but only two days after the former landed. What a bizarre coincidence.
Description
•