Closed Bug 1644772 Opened 4 years ago Closed 4 years ago

Browser Toolbox failed to open with a service worker exception

Categories

(DevTools :: Framework, defect)

defect

Tracking

(firefox79 fixed)

RESOLVED FIXED
Firefox 79
Tracking Status
firefox79 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

While trying to debug bug 1611945, I got the Browser Toolbox to fail opening.
And saw such error via the Browser Console:

Error while calling actor 'serviceWorkerRegistration's method 'allowShutdown' Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIServiceWorkerInfo.detachDebugger] Actor.js:91:13
allowShutdown@resource://devtools/server/actors/worker/service-worker-registration.js:273:39
handler@resource://devtools/shared/protocol/Actor.js:162:37
onPacket@resource://devtools/server/devtools-server-connection.js:380:58
_onJSONObjectReady/<@resource://devtools/shared/transport/transport.js:464:22
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22

It may be one of the reason why it breaks, outside of the pending update issue.

No idea if that is the real reason why the Browser Toolbox failed opening.
It isn't clear how WorkerTarget detach is implying in toolbox opening?

No idea if that is the real reason why the Browser Toolbox failed opening.
It isn't clear how WorkerTarget detach is implying in toolbox opening?

Attachment #9157587 - Attachment is obsolete: true
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/826c7b86e19c
Avoid an exception when we fail detaching a SW on destroy. r=jdescottes
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: