- From: Jake Archibald <notifications@github.com>
- Date: Thu, 15 Apr 2021 07:07:16 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 15 April 2021 14:07:28 UTC
A workaround for now:
```js
let readType = false;
navigator.serviceWorker
.register('about:blank', {
get type() {
readType = true;
},
})
.catch(() => {});
```
If `readType` is false, it doesn't understand `type`.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1582#issuecomment-820449611
Received on Thursday, 15 April 2021 14:07:28 UTC