Closed Bug 1721555 Opened 3 years ago Closed 3 years ago

browser_dbg-windowless-service-workers-reload.js fails with server side target switching enabled

Categories

(DevTools :: Debugger, defect)

defect

Tracking

(Fission Milestone:MVP, firefox92 fixed)

RESOLVED FIXED
92 Branch
Fission Milestone MVP
Tracking Status
firefox92 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

(Whiteboard: dt-fission-m3-mvp)

Attachments

(1 file)

This test fails because the WorkerDescritorActor.getTarget only returns the threadActor over here, when the target is already available:
https://searchfox.org/mozilla-central/rev/699174544b058f13f02e7586b3c8fdbf438f084b/devtools/server/actors/descriptors/worker.js#124-127
whereas it should also return the consoleActor as we do the first time we fetch the target:
https://searchfox.org/mozilla-central/rev/699174544b058f13f02e7586b3c8fdbf438f084b/devtools/server/actors/descriptors/worker.js#142-147

This ends up breaking the frontend which sets an empty consoleActor attribute over here:
https://searchfox.org/mozilla-central/rev/699174544b058f13f02e7586b3c8fdbf438f084b/devtools/client/fronts/descriptors/worker.js#100

Whiteboard: dt-fission-m3-triage
Fission Milestone: --- → MVP
Whiteboard: dt-fission-m3-triage → dt-fission-m3-mvp

For some reason, the timing is different. Surprising that we never hit this issues before?!

Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b079d5ba6fc3
[devtools] Fix browser_dbg-windowless-service-workers-reload.js with server side targets. r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
Blocks: 1721912
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: