- From: Jungkee Song <notifications@github.com>
- Date: Fri, 13 May 2016 03:04:32 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc:
Received on Friday, 13 May 2016 10:05:06 UTC
When I used [Unforgeable] for them, I thought them should be non-configurable as they even don't have a ctor but just capture the internal states.
```js
navigator.serviceWorker.getRegistration().then(registration => {
Object.defineProperty(registration, 'active', { value: registration.installing });
});
```
I'm not sure whether changing the value of those make sense. If so and that happens with other features often, I can remove them.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/897#issuecomment-219003153
Received on Friday, 13 May 2016 10:05:06 UTC