Closed Bug 1480406 Opened 7 years ago Closed 3 years ago

TypeError thrown during service worker registration

Categories

(Core :: DOM: Service Workers, defect, P2)

defect

Tracking

()

RESOLVED INACTIVE
Tracking Status
firefox63 --- affected

People

(Reporter: nchevobbe, Unassigned)

Details

**Steps to reproduce** 1. Go to https://noop-sw-benchmark.glitch.me/ **Expected results** The service worker gets registered **Actual results** There's the following error in the console: TypeError: "ServiceWorker script at https://noop-sw-benchmark.glitch.me/sw.js for scope https://noop-sw-benchmark.glitch.me/ encountered an error during installation." caused by navigator.serviceWorker.register('/sw.js'); This looks like a ServiceWorker wide issue since I get a similar issue on perf-html as well: TypeError: ServiceWorker script at https://perf-html.io/sw.js for scope https://perf-html.io/ encountered an error during installation. --- This does not happen with a fresh profile.
If it doesn't happen with a fresh profile, presumably some extension is at fault?
The only extension I have on this profile is Gecko Profiler. If I remove it, I still get this bug. This is not a big deal, but I didn't played with this profile too much, and I wonder how it got borked.
Eden: On your radar, can you investigate?
Flags: needinfo?(echuang)
Priority: -- → P2
Yes, I can investigate it.
Flags: needinfo?(echuang)

The glitch page now navigates to 404. I'm closing this as this is old enough, but please reopen if you can get a new repro.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.