|
1177 | 1177 | }
|
1178 | 1178 | }
|
1179 | 1179 | </style>
|
1180 |
| - <meta content="Bikeshed version b734e371910e25ac23b774dca3dea5cfc7b7fc0b" name="generator"> |
| 1180 | + <meta content="Bikeshed version 81c00a31d8c468599cf8337dd150a8be9a2b4e5d" name="generator"> |
1181 | 1181 | <link href="https://www.w3.org/TR/service-workers/" rel="canonical">
|
1182 | 1182 | <style>/* style-md-lists */
|
1183 | 1183 |
|
|
1425 | 1425 | <div class="head">
|
1426 | 1426 | <p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"> </a> </p>
|
1427 | 1427 | <h1 class="p-name no-ref" id="title">Service Workers 1</h1>
|
1428 |
| - <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2017-04-02">2 April 2017</time></span></h2> |
| 1428 | + <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2017-04-07">7 April 2017</time></span></h2> |
1429 | 1429 | <div data-fill-with="spec-metadata">
|
1430 | 1430 | <dl>
|
1431 | 1431 | <dt>This version:
|
@@ -4004,7 +4004,7 @@ <h4 class="heading settled" data-level="6.3.2" id="importscripts"><span class="s
|
4004 | 4004 | <li data-md="">
|
4005 | 4005 | <p>If <var>response</var>’s <a href="https://github.com/whatwg/fetch/issues/376">cache state</a> is not "<code>local</code>", set <var>registration</var>’s <a data-link-type="dfn" href="#dfn-last-update-check-time" id="ref-for-dfn-last-update-check-time-3">last update check time</a> to the current time.</p>
|
4006 | 4006 | <li data-md="">
|
4007 |
| - <p><a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-header-extract-mime-type">Extract a MIME type</a> from the <var>response</var>’s <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#unsafe-response">unsafe response</a>'s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-response-header-list">header list</a>. If this MIME type (ignoring parameters) is not one of <code>text/javascript</code>, <code>application/x-javascript</code>, and <code>application/javascript</code>, return a <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-network-error">network error</a>.</p> |
| 4007 | + <p><a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-header-extract-mime-type">Extract a MIME type</a> from the <var>response</var>’s <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#unsafe-response">unsafe response</a>'s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-response-header-list">header list</a>. If this MIME type (ignoring parameters) is not a <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/scripting.html#javascript-mime-type">JavaScript MIME type</a>, return a <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-network-error">network error</a>.</p> |
4008 | 4008 | <li data-md="">
|
4009 | 4009 | <p>If <var>response</var>’s <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/infrastructure.html#unsafe-response">unsafe response</a>’s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-response-type">type</a> is not "<code>error</code>", and <var>response</var>’s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-response-status">status</a> is an <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#ok-status">ok status</a>, then:</p>
|
4010 | 4010 | <ol>
|
@@ -4401,7 +4401,7 @@ <h3 class="heading settled" id="update-algorithm"><span class="content"><dfn cla
|
4401 | 4401 | <li data-md="">
|
4402 | 4402 | <p><a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-fetch">Fetch</a> <var>request</var>, and asynchronously wait to run the remaining steps as part of fetch’s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#process-response">process response</a> for the <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-response">response</a> <var>response</var>.</p>
|
4403 | 4403 | <li data-md="">
|
4404 |
| - <p><a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-header-extract-mime-type">Extract a MIME type</a> from the <var>response</var>’s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-response-header-list">header list</a>. If this MIME type (ignoring parameters) is not one of <code>text/javascript</code>, <code>application/x-javascript</code>, and <code>application/javascript</code>, then:</p> |
| 4404 | + <p><a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-header-extract-mime-type">Extract a MIME type</a> from the <var>response</var>’s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-response-header-list">header list</a>. If this MIME type (ignoring parameters) is not a <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/scripting.html#javascript-mime-type">JavaScript MIME type</a>, then:</p> |
4405 | 4405 | <ol>
|
4406 | 4406 | <li data-md="">
|
4407 | 4407 | <p>Invoke <a data-link-type="dfn" href="#reject-job-promise" id="ref-for-reject-job-promise-6">Reject Job Promise</a> with <var>job</var> and a "<code class="idl"><a data-link-type="idl" href="https://heycam.github.io/webidl/#securityerror">SecurityError</a></code>" exception.</p>
|
@@ -6450,6 +6450,7 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
|
6450 | 6450 | <li><a href="https://html.spec.whatwg.org/multipage/infrastructure.html#in-parallel">in parallel</a>
|
6451 | 6451 | <li><a href="https://html.spec.whatwg.org/multipage/webappapis.html#incumbent-settings-object">incumbent settings object</a>
|
6452 | 6452 | <li><a href="https://html.spec.whatwg.org/multipage/webappapis.html#fetching-scripts-is-top-level">is top-level</a>
|
| 6453 | + <li><a href="https://html.spec.whatwg.org/multipage/scripting.html#javascript-mime-type">javascript mime type</a> |
6453 | 6454 | <li><a href="https://html.spec.whatwg.org/multipage/workers.html#kill-a-worker">kill a worker</a>
|
6454 | 6455 | <li><a href="https://html.spec.whatwg.org/multipage/webappapis.html#list-of-active-timers">list of active timers</a>
|
6455 | 6456 | <li><a href="https://html.spec.whatwg.org/multipage/indices.html#event-message">message</a>
|
|
0 commit comments