Bug 188495 - importScripts should throw an error when used to load new resource after `install` event
Summary: importScripts should throw an error when used to load new resource after `ins...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Service Workers (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-12 18:09 PDT by Matt Falkenhagen
Modified: 2018-08-12 18:09 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Falkenhagen 2018-08-12 18:09:14 PDT
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.