browser_dbg-windowless-service-workers.js fails with server targets
Categories
(DevTools :: Debugger, defect)
Tracking
(Fission Milestone:MVP, firefox92 fixed)
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: ochameau, Assigned: nchevobbe)
References
Details
(Whiteboard: dt-fission-m3-mvp)
Attachments
(1 file)
The test timesout of this line:
https://searchfox.org/mozilla-central/rev/072710086ddfe25aa2962c8399fefb2304e8193b/devtools/client/debugger/test/mochitest/browser_dbg-windowless-service-workers.js#49
await waitForPaused(dbg);
For some reason, the debugger no longer pause in the SW on reload. Or at least the frontend doesn't report the pause.
Given that this feature is preffed off, we could consider forcing server target to false in this test in order to toggle the server target sooner than later.
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
The script itself seems to pause okay, but we don't get the information.
From some logging, it looks like the paused
event that is sent from the actor is not received by the associated front / the THREAD_STATE
legacy listener
attachAndInitThread
is called after the event is emitted which probably explain this issue.
I'm trying to see how this could be fixed
Assignee | ||
Comment 2•3 years ago
|
||
This makes browser_dbg-windowless-service-workers.js pass
with server side target switching.
Updated•3 years ago
|
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/96d1e40298c0 [devtools] Don't actually destroy service worker targets on target switching. r=jdescottes.
Comment 4•3 years ago
|
||
bugherder |
Description
•