1213
1213
}
1214
1214
</style>
1215
1215
<link href="https://www.w3.org/StyleSheets/TR/2016/W3C-ED" rel="stylesheet" type="text/css">
1216
- <meta content="Bikeshed version 04b354547d55896d854a81cffb3965bd6f8758ec " name="generator">
1216
+ <meta content="Bikeshed version d76ab51ece93be5af3a1621c820b89fd4f9cc432 " name="generator">
1217
1217
<link href="https://www.w3.org/TR/service-workers/" rel="canonical">
1218
- <meta content="595e504219f83300e2294dfa38e1e364882a0cf7" name="document-revision">
1219
1218
<style>/* style-md-lists */
1220
1219
1221
1220
/* This is a weird hack for me not yet following the commonmark spec
1473
1472
<div class="head">
1474
1473
<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>
1475
1474
<h1 class="p-name no-ref" id="title">Service Workers Nightly</h1>
1476
- <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2018-11-01">1 November 2018 </time></span></h2>
1475
+ <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2019-02-11">11 February 2019 </time></span></h2>
1477
1476
<div data-fill-with="spec-metadata">
1478
1477
<dl>
1479
1478
<dt>This version:
@@ -1492,7 +1491,7 @@ <h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="cont
1492
1491
</dl>
1493
1492
</div>
1494
1493
<div data-fill-with="warning"></div>
1495
- <p class="copyright" data-fill-with="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2018 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>). W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document" rel="license">permissive document license</a> rules apply. </p>
1494
+ <p class="copyright" data-fill-with="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2019 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>). W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document" rel="license">permissive document license</a> rules apply. </p>
1496
1495
<hr title="Separator for header">
1497
1496
</div>
1498
1497
<div class="p-summary" data-fill-with="abstract">
@@ -1836,7 +1835,7 @@ <h4 class="heading settled" data-level="2.2.1" id="service-worker-registration-l
1836
1835
</section>
1837
1836
<section>
1838
1837
<h3 class="heading settled" data-level="2.3" id="service-worker-client-concept"><span class="secno">2.3. </span><span class="content">Service Worker Client</span><a class="self-link" href="#service-worker-client-concept"></a></h3>
1839
- <p>A <dfn class="dfn-paneled" data-dfn-for data-dfn-type="dfn" data-export id="dfn-service-worker-client">service worker client</dfn> is an <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html# environment" id="ref-for-environment">environment</a>.</p>
1838
+ <p>A <dfn class="dfn-paneled" data-dfn-for data-dfn-type="dfn" data-export id="dfn-service-worker-client">service worker client</dfn> is an <a data-link-type="dfn" href="https://w3c.github.io/FileAPI/#blob-url-entry- environment" id="ref-for-blob-url-entry -environment">environment</a>.</p>
1840
1839
<p>A <a data-link-type="dfn" href="#dfn-service-worker-client" id="ref-for-dfn-service-worker-client③">service worker client</a> has an associated <dfn class="dfn-paneled" data-dfn-for="service worker client" data-dfn-type="dfn" data-export id="service-worker-client-discarded-flag">discarded flag</dfn>. It is initially unset.</p>
1841
1840
<p>Each <a data-link-type="dfn" href="#dfn-service-worker-client" id="ref-for-dfn-service-worker-client④">service worker client</a> has the following <a data-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#environment-discarding-steps" id="ref-for-environment-discarding-steps">environment discarding steps</a>:</p>
1842
1841
<ol>
@@ -3354,7 +3353,7 @@ <h3 class="heading settled" data-level="5.2" id="cache-lifetimes"><span class="s
3354
3353
</section>
3355
3354
<section>
3356
3355
<h3 class="heading settled" data-level="5.3" id="self-caches"><span class="secno">5.3. </span><span class="content"><code class="idl"><a data-link-type="idl" href="#global-caches-attribute" id="ref-for-global-caches-attribute">self.caches</a></code></span><a class="self-link" href="#self-caches"></a></h3>
3357
- <pre class="idl highlight def"><c- b>partial</c-> <c- b>interface</c-> <a class="idl-code" data-link-type="interface" href="https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope" id="ref-for-windoworworkerglobalscope"><c- g>WindowOrWorkerGlobalScope</c-></a> {
3356
+ <pre class="idl highlight def"><c- b>partial</c-> <c- b>interface</c-> <c- b>mixin</c-> < a class="idl-code" data-link-type="interface" href="https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope" id="ref-for-windoworworkerglobalscope"><c- g>WindowOrWorkerGlobalScope</c-></a> {
3358
3357
[<a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SecureContext" id="ref-for-SecureContext⑥"><c- g>SecureContext</c-></a>, <a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SameObject" id="ref-for-SameObject⑧"><c- g>SameObject</c-></a>] <c- b>readonly</c-> <c- b>attribute</c-> <a class="n" data-link-type="idl-name" href="#cachestorage" id="ref-for-cachestorage"><c- n>CacheStorage</c-></a> <a class="idl-code" data-link-type="attribute" data-readonly data-type="CacheStorage" href="#global-caches-attribute" id="ref-for-global-caches-attribute①"><c- g>caches</c-></a>;
3359
3358
};
3360
3359
</pre>
@@ -6067,7 +6066,7 @@ <h3 class="heading settled" id="request-matches-cached-item-algorithm"><span cla
6067
6066
<p>For each <var>fieldValue</var> in <var>fieldValues</var>:</p>
6068
6067
<ol>
6069
6068
<li data-md>
6070
- <p>If <var>fieldValue</var> matches "<code>*</code>", or the <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-header-value-combined" id="ref-for-concept-header-value-combined" >combined value</a> given <var>fieldValue</var> and <var>request</var>’s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-request-header-list" id="ref-for-concept-request-header-list②">header list</a> does not match the <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-header-value-combined" id="ref-for-concept-header-value-combined① ">combined value</a> given <var>fieldValue</var> and <var>requestQuery</var>’s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-request-header-list" id="ref-for-concept-request-header-list③">header list</a>, then return false.</p>
6069
+ <p>If <var>fieldValue</var> matches "<code>*</code>", or the <a data-link-type="dfn">combined value</a> given <var>fieldValue</var> and <var>request</var>’s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-request-header-list" id="ref-for-concept-request-header-list②">header list</a> does not match the <a data-link-type="dfn">combined value</a> given <var>fieldValue</var> and <var>requestQuery</var>’s <a data-link-type="dfn" href="https://fetch.spec.whatwg.org/#concept-request-header-list" id="ref-for-concept-request-header-list③">header list</a>, then return false.</p>
6071
6070
</ol>
6072
6071
<li data-md>
6073
6072
<p>Return true.</p>
@@ -7075,12 +7074,6 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
7075
7074
<li><a href="#ref-for-concept-readablestream-closed">4.5.6. event.respondWith(r)</a>
7076
7075
</ul>
7077
7076
</aside>
7078
- <aside class="dfn-panel" data-for="term-for-concept-header-value-combined">
7079
- <a href="https://fetch.spec.whatwg.org/#concept-header-value-combined">https://fetch.spec.whatwg.org/#concept-header-value-combined</a><b>Referenced in:</b>
7080
- <ul>
7081
- <li><a href="#ref-for-concept-header-value-combined">Request Matches Cached Item</a> <a href="#ref-for-concept-header-value-combined①">(2)</a>
7082
- </ul>
7083
- </aside>
7084
7077
<aside class="dfn-panel" data-for="term-for-concept-construct-readablestream">
7085
7078
<a href="https://fetch.spec.whatwg.org/#concept-construct-readablestream">https://fetch.spec.whatwg.org/#concept-construct-readablestream</a><b>Referenced in:</b>
7086
7079
<ul>
@@ -7462,6 +7455,12 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
7462
7455
<li><a href="#ref-for-concept-header-value①">Request Matches Cached Item</a>
7463
7456
</ul>
7464
7457
</aside>
7458
+ <aside class="dfn-panel" data-for="term-for-blob-url-entry-environment">
7459
+ <a href="https://w3c.github.io/FileAPI/#blob-url-entry-environment">https://w3c.github.io/FileAPI/#blob-url-entry-environment</a><b>Referenced in:</b>
7460
+ <ul>
7461
+ <li><a href="#ref-for-blob-url-entry-environment">2.3. Service Worker Client</a>
7462
+ </ul>
7463
+ </aside>
7465
7464
<aside class="dfn-panel" data-for="term-for-abstractworker">
7466
7465
<a href="https://html.spec.whatwg.org/multipage/workers.html#abstractworker">https://html.spec.whatwg.org/multipage/workers.html#abstractworker</a><b>Referenced in:</b>
7467
7466
<ul>
@@ -7745,12 +7744,6 @@ <h3 class="no-num no-ref heading settled" id="index-defined-here"><span class="c
7745
7744
<li><a href="#ref-for-dom-manipulation-task-source②③">Resolve Get Client Promise</a> <a href="#ref-for-dom-manipulation-task-source②④">(2)</a> <a href="#ref-for-dom-manipulation-task-source②⑤">(3)</a> <a href="#ref-for-dom-manipulation-task-source②⑥">(4)</a>
7746
7745
</ul>
7747
7746
</aside>
7748
- <aside class="dfn-panel" data-for="term-for-environment">
7749
- <a href="https://html.spec.whatwg.org/multipage/webappapis.html#environment">https://html.spec.whatwg.org/multipage/webappapis.html#environment</a><b>Referenced in:</b>
7750
- <ul>
7751
- <li><a href="#ref-for-environment">2.3. Service Worker Client</a>
7752
- </ul>
7753
- </aside>
7754
7747
<aside class="dfn-panel" data-for="term-for-environment-discarding-steps">
7755
7748
<a href="https://html.spec.whatwg.org/multipage/webappapis.html#environment-discarding-steps">https://html.spec.whatwg.org/multipage/webappapis.html#environment-discarding-steps</a><b>Referenced in:</b>
7756
7749
<ul>
@@ -9085,7 +9078,6 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
9085
9078
<li><span class="dfn-paneled" id="term-for-concept-request-client" style="color:initial">client</span>
9086
9079
<li><span class="dfn-paneled" id="term-for-concept-response-clone" style="color:initial">clone <small>(for response)</small></span>
9087
9080
<li><span class="dfn-paneled" id="term-for-concept-readablestream-closed" style="color:initial">closed</span>
9088
- <li><span class="dfn-paneled" id="term-for-concept-header-value-combined" style="color:initial">combined value</span>
9089
9081
<li><span class="dfn-paneled" id="term-for-concept-construct-readablestream" style="color:initial">construct a readablestream object</span>
9090
9082
<li><span class="dfn-paneled" id="term-for-header-list-contains" style="color:initial">contains</span>
9091
9083
<li><span class="dfn-paneled" id="term-for-concept-filtered-response-cors" style="color:initial">cors filtered response</span>
@@ -9139,6 +9131,11 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
9139
9131
<li><span class="dfn-paneled" id="term-for-concept-request-use-url-credentials-flag" style="color:initial">use-url-credentials flag</span>
9140
9132
<li><span class="dfn-paneled" id="term-for-concept-header-value" style="color:initial">value</span>
9141
9133
</ul>
9134
+ <li>
9135
+ <a data-link-type="biblio">[FileAPI]</a> defines the following terms:
9136
+ <ul>
9137
+ <li><span class="dfn-paneled" id="term-for-blob-url-entry-environment" style="color:initial">environment</span>
9138
+ </ul>
9142
9139
<li>
9143
9140
<a data-link-type="biblio">[HTML]</a> defines the following terms:
9144
9141
<ul>
@@ -9176,7 +9173,6 @@ <h3 class="no-num no-ref heading settled" id="index-defined-elsewhere"><span cla
9176
9173
<li><span class="dfn-paneled" id="term-for-dom-messageevent-data" style="color:initial">data</span>
9177
9174
<li><span class="dfn-paneled" id="term-for-discard-a-document" style="color:initial">discard a document</span>
9178
9175
<li><span class="dfn-paneled" id="term-for-dom-manipulation-task-source" style="color:initial">dom manipulation task source</span>
9179
- <li><span class="dfn-paneled" id="term-for-environment" style="color:initial">environment</span>
9180
9176
<li><span class="dfn-paneled" id="term-for-environment-discarding-steps" style="color:initial">environment discarding steps</span>
9181
9177
<li><span class="dfn-paneled" id="term-for-environment-settings-object" style="color:initial">environment settings object</span>
9182
9178
<li><span class="dfn-paneled" id="term-for-event-handlers" style="color:initial">event handler</span>
@@ -9379,6 +9375,8 @@ <h3 class="no-num no-ref heading settled" id="normative"><span class="content">N
9379
9375
<dd><a href="https://tc39.github.io/ecma262/">ECMAScript Language Specification</a>. URL: <a href="https://tc39.github.io/ecma262/">https://tc39.github.io/ecma262/</a>
9380
9376
<dt id="biblio-fetch">[FETCH]
9381
9377
<dd>Anne van Kesteren. <a href="https://fetch.spec.whatwg.org/">Fetch Standard</a>. Living Standard. URL: <a href="https://fetch.spec.whatwg.org/">https://fetch.spec.whatwg.org/</a>
9378
+ <dt id="biblio-fileapi">[FileAPI]
9379
+ <dd>Marijn Kruisselbrink; Arun Ranganathan. <a href="https://www.w3.org/TR/FileAPI/">File API</a>. 6 November 2018. WD. URL: <a href="https://www.w3.org/TR/FileAPI/">https://www.w3.org/TR/FileAPI/</a>
9382
9380
<dt id="biblio-html">[HTML]
9383
9381
<dd>Anne van Kesteren; et al. <a href="https://html.spec.whatwg.org/multipage/">HTML Standard</a>. Living Standard. URL: <a href="https://html.spec.whatwg.org/multipage/">https://html.spec.whatwg.org/multipage/</a>
9384
9382
<dt id="biblio-infra">[INFRA]
@@ -9388,7 +9386,7 @@ <h3 class="no-num no-ref heading settled" id="normative"><span class="content">N
9388
9386
<dt id="biblio-page-visibility">[PAGE-VISIBILITY]
9389
9387
<dd>Jatinder Mann; Arvind Jain. <a href="https://www.w3.org/TR/page-visibility/">Page Visibility (Second Edition)</a>. 29 October 2013. REC. URL: <a href="https://www.w3.org/TR/page-visibility/">https://www.w3.org/TR/page-visibility/</a>
9390
9388
<dt id="biblio-promises-guide">[PROMISES-GUIDE]
9391
- <dd>Domenic Denicola. <a href="https://www.w3.org/2001/tag/doc/promises-guide">Writing Promise-Using Specifications</a>. 16 February 2016. Finding of the W3C TAG. URL: <a href="https://www.w3.org/2001/tag/doc/promises-guide">https://www.w3.org/2001/tag/doc/promises-guide</a>
9389
+ <dd>Domenic Denicola. <a href="https://www.w3.org/2001/tag/doc/promises-guide">Writing Promise-Using Specifications</a>. 16 February 2016. TAG Finding . URL: <a href="https://www.w3.org/2001/tag/doc/promises-guide">https://www.w3.org/2001/tag/doc/promises-guide</a>
9392
9390
<dt id="biblio-referrer-policy">[REFERRER-POLICY]
9393
9391
<dd>Jochen Eisinger; Emily Stark. <a href="https://www.w3.org/TR/referrer-policy/">Referrer Policy</a>. 26 January 2017. CR. URL: <a href="https://www.w3.org/TR/referrer-policy/">https://www.w3.org/TR/referrer-policy/</a>
9394
9392
<dt id="biblio-rfc2119">[RFC2119]
@@ -9609,7 +9607,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I
9609
9607
<c- b>sequence</c-><<a class="n" data-link-type="idl-name" href="https://html.spec.whatwg.org/multipage/web-messaging.html#messageport" id="ref-for-messageport⑤①"><c- n>MessagePort</c-></a>> <a data-default="None" data-type="sequence<MessagePort> " href="#dom-extendablemessageeventinit-ports"><code><c- g>ports</c-></code></a> = [];
9610
9608
};
9611
9609
9612
- <c- b>partial</c-> <c- b>interface</c-> <a class="idl-code" data-link-type="interface" href="https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope" id="ref-for-windoworworkerglobalscope①"><c- g>WindowOrWorkerGlobalScope</c-></a> {
9610
+ <c- b>partial</c-> <c- b>interface</c-> <c- b>mixin</c-> < a class="idl-code" data-link-type="interface" href="https://html.spec.whatwg.org/multipage/webappapis.html#windoworworkerglobalscope" id="ref-for-windoworworkerglobalscope①"><c- g>WindowOrWorkerGlobalScope</c-></a> {
9613
9611
[<a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SecureContext" id="ref-for-SecureContext⑥①"><c- g>SecureContext</c-></a>, <a class="idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SameObject" id="ref-for-SameObject⑧①"><c- g>SameObject</c-></a>] <c- b>readonly</c-> <c- b>attribute</c-> <a class="n" data-link-type="idl-name" href="#cachestorage" id="ref-for-cachestorage⑦"><c- n>CacheStorage</c-></a> <a class="idl-code" data-link-type="attribute" data-readonly data-type="CacheStorage" href="#global-caches-attribute" id="ref-for-global-caches-attribute①①"><c- g>caches</c-></a>;
9614
9612
};
9615
9613
0 commit comments