From time to time I get a report from user that shows that the background script is not responding to a simple "ping" message.
But I have a feeling there are still some cases when this happens.
For example NOW, on my own PC :).
I'm running
Version 146.0.7668.2
And the "chrome://serviceworker-internals/" shows this:
ServiceWorkerRegistrations in: C:\Users\juraj\AppData\Local\Temp\tmp-web-ext--28332-nkE8fqedV4vi\Default (2)
Scope: chrome-extension://ipljpmoncjninbaffhpemfdkaipaabkc/
Storage key:
Origin: chrome-extension://ipljpmoncjninbaffhpemfdkaipaabkc
Top level site: chrome-extension://ipljpmoncjninbaffhpemfdkaipaabkc
Ancestor chain bit: SameSite
Registration ID: 2
Navigation preload enabled: false
Navigation preload header length: 4
Active worker:
Installation Status: ACTIVATED
Running Status: STOPPED
Fetch handler existence: DOES_NOT_EXIST
Fetch handler type: NO_HANDLER
Script: chrome-extension://ipljpmoncjninbaffhpemfdkaipaabkc/background.loader.js
Version ID: 2
Renderer process ID: 0
Renderer thread ID: -1
DevTools agent route ID: -2
Client:
ID: 261976bf-9aa3-4c45-a732-f8cc4f8a54fc
URL: chrome-extension://ipljpmoncjninbaffhpemfdkaipaabkc/dial.html
Client:
ID: 897e5692-1063-4f25-b452-a4172ebf0653
URL: chrome-extension://ipljpmoncjninbaffhpemfdkaipaabkc/dial.html?reload
Client:
ID: 8c0b235a-aba8-4b8f-9af2-41a7afd29384
URL: chrome-extension://ipljpmoncjninbaffhpemfdkaipaabkc/dial.html#47
I'm not sure when it broke, I've just noticed my extension is somewhat broken and then I've noticed it's due to inactive service worker.
Even if I click the "service worker (inactive)" link in the chrome extensions page, nothing happens.
Are there maybe some logs I could check right now to help investigate this?