[w3c/ServiceWorker] Improve "update via cache" and "worker type" in register algorithms. (#1411)

This makes the following changes:
* updateViaCache is a live property. This is covered by the WPT
registration-updateviacache.https.html. However we are missing tests for a
register() that rejects with a new updateViaCache property. The desired
behavior is to only update the property if register() resolves.
* Changing worker type bypasses the byte-for-byte update check. This is covered
by WPT update-registration-with-type.https.html.
* Adds Worker type and updateViaCache to the job equivalence check. This
probably can have a WPT for successive register() calls that vary these
properties don’t get coalesced into a single job.

Addresses #1189, #1408, #1359, and #1358.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/ServiceWorker/pull/1411


-- Commit Summary --

  * Improve "update via cache" and "worker type" in register algorithms.

-- File Changes --

    M docs/index.bs (19)

-- Patch Links --

https://github.com/w3c/ServiceWorker/pull/1411.patch

https://github.com/w3c/ServiceWorker/pull/1411.diff


-- 
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/pull/1411

Received on Monday, 3 June 2019 04:30:29 UTC