`listWorkers` throws exception on some websites
Categories
(DevTools :: Application Panel, defect, P2)
Tracking
(Not tracked)
People
(Reporter: ladybenko, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: sw-refactor-bug)
STR:
- Open https://serviceworke.rs/strategy-network-or-cache.html
- Open the Application panel
Result:listWorker
exception in the console
(Alternatively, clicking onStart
service worker button, will also trigger this error).
error occurred while processing 'listWorkers': [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIServiceWorkerManager.getRegistrationByPrincipal]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://devtools/server/actors/targets/worker.js :: _getServiceWorkerRegistrationInfo :: line 160" data: no]
You might need to change 2 values in the about:config
- devtools.application.enabled -> true
- dom.ipc.processCount -> set to 1
Perry + Andrew:
After some investigation, it seems the issue appears when we have an automated updating cycle in SW, so I guess it might be related to the SW feature patch.
Johann:
Console also spit out a few Tracking Protection warnings. I'm not sure, if this is related but I feel it might be worth a look.
Thanks!
Comment 3•6 years ago
|
||
potential duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1447197
Comment 4•6 years ago
|
||
I haven't been able to reproduce...what OSes is this present on?
OS: macOS 10.14.5
Browser: Firefox Nightly recent central tip
As mentioned here: https://bugzilla.mozilla.org/show_bug.cgi?id=1447197#c2
It is not happening for every SW.
Reporter | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Sorry for the delay. tbh I couldn't really reproduce this, but I doubt it's related to ETP. Let me know if you have any further suspicions in that direction, though.
Comment 7•5 years ago
|
||
Can't reproduce anymore, please re-open if this comes back up for anybody.
Updated•2 years ago
|
Description
•