Wait properly for toolbox to completely load after a reload in netmonitor tests
Categories
(DevTools :: Netmonitor, task)
Tracking
(firefox93 fixed)
| Tracking | Status | |
|---|---|---|
| firefox93 | --- | fixed |
People
(Reporter: bomsy, Assigned: jdescottes)
References
Details
Attachments
(2 files)
Just doing a waitForNetworkEvents after relaods(for netmonitor tests) in scenarios like
const wait = waitForNetworkEvents(monitor, 1);
tab.linkedBrowser.reload();
await wait;
are not enough and are leading to issues. One possible issue is this fail issue mentioned here
https://bugzilla.mozilla.org/show_bug.cgi?id=1726461
Lets wait for the toolbox to completely load and any necessary events before continuing.
Also the work being done in https://bugzilla.mozilla.org/show_bug.cgi?id=1727506 would be very helpful.
| Assignee | ||
Comment 1•4 years ago
|
||
Might be missing some of them, but updating all the tests returned by the following query would be a good start: https://searchfox.org/mozilla-central/search?q=.reload%28%29&path=devtools%2Fclient%2Fnetmonitor&case=false®exp=false
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
Depends on D124169
| Assignee | ||
Comment 3•4 years ago
|
||
Depends on D124188
A few tests outside of the netmonitor also used tab.linkedBrowser.reload, let's migrate them at the same time.
Comment 5•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/98a89c0b759f
https://hg.mozilla.org/mozilla-central/rev/a8c44ae83022
Description
•