Closed Bug 1564154 Opened 5 years ago Closed 4 years ago

`listWorkers` throws exception on some websites

Categories

(DevTools :: Application Panel, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ladybenko, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: sw-refactor-bug)

STR:

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

  1. devtools.application.enabled -> true
  2. 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!

Flags: needinfo?(perry)
Flags: needinfo?(jhofmann)
Flags: needinfo?(bugmail)

I haven't been able to reproduce...what OSes is this present on?

Flags: needinfo?(perry)

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.

Whiteboard: foundation-work → sw-refactor-bug

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.

Flags: needinfo?(jhofmann)

Can't reproduce anymore, please re-open if this comes back up for anybody.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(bugmail)
You need to log in before you can comment on or make changes to this bug.