ServiceWorker
7f2b6e15 - Improve "update via cache" and "worker type" in register algorithms. (#1411)

Commit
7 years ago
Improve "update via cache" and "worker type" in register algorithms. (#1411) This makes the following changes: * updateViaCache is a live property. This is mostly covered by the WPT registration-updateviacache.https.html. A test that the updateViaCache change is only committed if the register() call resolves is added in https://github.com/web-platform-tests/wpt/pull/17131. * 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. A test for this is added in https://github.com/web-platform-tests/wpt/pull/17131. Addresses #1189, #1408, #1359, and #1358.
Author
Parents
Loading