Re: [ServiceWorker] should update() during top level script evaluation be ignored? (#800)

A note on Chrome's implementation: the comment in the Blink's test is misleading:
```// update() during the script evaluation should be ignored.```

Chrome actually can perform update() during initial script evaluation. It only ignores it if Get Newest Worker returns null. The comment means to say something like "update() from the installing worker of a new registration is rejected with InvalidStateError".

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/800#issuecomment-173859798

Received on Friday, 22 January 2016 09:28:12 UTC