[23] ワーカーの大域オブジェクトの importScripts
メソッドは、指定した URL のスクリプトを実行するよう指示するものです。
[3] WorkerGlobalScope
インターフェイスの
importScripts
メソッドは、
次のようにしなければなりません >>2。
[11] サービスワーカーは、 imported scripts updated flag を持ちます。初期値は未設定です。 >>10
[27] ServiceWorkerGlobalScope
オブジェクトは、
importscripts allowed flag を持ちます。初期状態では偽です >>28。
[67] ワーカー大域適用範囲にスクリプトを輸入するには、 URL群と設定群オブジェクトとfetchの実行について次のようにします。
[1] importScripts() no longer checking for cross-origin loads (Ian Hickson <ian@...> 著, 版) http://permalink.gmane.org/gmane.org.w3c.whatwg.discuss/16885
[21] Refactor importScripts(urls) · whatwg/html@509578d ( 版) https://github.com/whatwg/html/commit/509578d97bd12374e50a409bd4f1ec63cd36a543
[54] Give importScripts() a base URL · whatwg/html@fc4168b ( 版) https://github.com/whatwg/html/commit/fc4168b1ccde276fbf936bbc592353f585d83d5c
[55] Integrate Fetch into HTML · whatwg/html@7c5555a ( 版) https://github.com/whatwg/html/commit/7c5555a16f2920c02244c10756bb2f1a11e87a22
[59] Throw NetworkError for cross-origin importScripts() exceptions · whatwg/html@1e865ed ( 版) https://github.com/whatwg/html/commit/1e865ed22daf02d331966765b948bcece800678f
[60] Rewrite script execution on top of ES · whatwg/html@4891d18 ( 版) https://github.com/whatwg/html/commit/4891d18aaf2df1d40aa61f467a5a10cfc19dd85d
[61] Fix importScripts() script execution · whatwg/html@704907d ( 版) https://github.com/whatwg/html/commit/704907dc195e77759fb7b48e51932094d150b7fc
[16] Add <script type="module"> and module resolution/fetching/evaluation · whatwg/html@cd1a9fb ( 版) https://github.com/whatwg/html/commit/cd1a9fb1e83f7d0bc30be8b34ecdaf444a0b19a4
[18] URLs are parsed and produce records · whatwg/html@30bc255 ( 版) https://github.com/whatwg/html/commit/30bc2557105ad62881ec9670f253febbc9761b44
[56] Add module workers · whatwg/html@e3a5bb7 ( 版) https://github.com/whatwg/html/commit/e3a5bb757f64374c37d8c4528c01298463ef0b2a
[63] Fix #715: clarify how aborting a running script works · whatwg/html@6a48bfb ( 版) https://github.com/whatwg/html/commit/6a48bfbf1066034eab4786d62ba4017593c48430
[14] Make script fetching more correct with regard to request destinations · whatwg/html@6dc9c9e ( 版) https://github.com/whatwg/html/commit/6dc9c9e1efcc3122294fb015e4a4eea66456a611
[64] Use USVString for all URLs ( (domenic著, )) https://github.com/whatwg/html/commit/018b983b77b2cd908f6d00100e7e0abe893dd2c3
[65] Improve all the script-fetching algorithms (domenic著, ) https://github.com/whatwg/html/commit/b4f40e72fcca8a13eefa8a2dd06258378e76fcb7
[8] Editorial: use "current settings object" for importScripts (domenic著, ) https://github.com/whatwg/html/commit/a2df643560f246fa9ff2c62825d1636504e73a96
[12] Enforce strict MIME type checks for worker-imported scripts (mikewest著, ) https://github.com/whatwg/html/commit/d1c3679934f52450666750464effb97e14f555e0
[17] Nosniffing for Worker Scripts · Issue #3255 · whatwg/html () https://github.com/whatwg/html/issues/3255
[20] Minor improvements around importScripts. (#1380) (mattto著, ) https://github.com/w3c/ServiceWorker/commit/c0aa49426169003379227b80dd84ade7c2819584
[25] Minor improvements around importScripts. by mattto · Pull Request #1380 · w3c/ServiceWorker () https://github.com/w3c/ServiceWorker/pull/1380