diff --git a/spec/service_worker/index.html b/spec/service_worker/index.html index 25464fd3..eb8927d2 100644 --- a/spec/service_worker/index.html +++ b/spec/service_worker/index.html @@ -95,6 +95,7 @@
navigator.serviceWorker.register(scriptURL, options)
from a document) is fetched without heuristic caching. If the return status code of the fetch is not 2xx, installation aborts.navigator.serviceWorker.register(scriptURL, options)
from a document) is fetched without heuristic caching. If the return status code of the fetch is not 2xx or it is served with a Content-Security-Policy
header that disallows use as a Service Worker, installation aborts.
ServiceWorkerGlobalScope
. These scripts may call importScripts
resulting in further fetches. Imported scripts are fetched, parsed and executed in turn, per the ECMA-262 and Web Workers specifications. All resources downloaded as part of the very first startup of a Service Worker are cached along with the worker script as described in "Worker Script Caching".
@@ -1748,6 +1749,15 @@ Content-Security-Policy
header including a sandbox
directive, then:
+ Once Service Workers use the run a worker algorithm to start the Service Worker execution process, this should probably move inside the [[Install]] algorithm and refer to the worker's sandboxed origin browsing context flag inside its forced sandboxing flag set.
+SecurityError
" exception.