Remove importScripts() of new scripts after service worker installation. (removed)

Until this deprecation, a service worker could use importScripts() to import any script at any time. After this change, a service worker can only importScripts() in two cases: - Before installation finishes (from the initial execution of the service worker until it reaches the `installed` state). - After installation finishes, only for scripts that were already imported in the previous phase.


Editor's draft

Status in Chromium


Removed (tracking bug) in:

  • Chrome for desktop release 71
  • Chrome for Android release 71
  • Android WebView release 71

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Public support
  • Public support
  • No public signals
  • No signals


Last updated on 2018-10-01