Bug 188495
Summary: | importScripts should throw an error when used to load new resource after `install` event | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matt Falkenhagen <falken> |
Component: | Service Workers | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Matt Falkenhagen
Same as https://bugs.chromium.org/p/chromium/issues/detail?id=719052
The WPT test for this is: service-workers/service-worker/import-scripts-updated-flag.https.html
As far as I can tell from the demo site from https://github.com/w3c/ServiceWorker/issues/1021#issuecomment-266708110, Safari Technology Preview is allowing the importScripts(), so the WPT test should fail.
Chrome intends to change to align with the spec, as Firefox and Edge have done.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |