Skip to content

Commit fd94987

Browse files
committed
Change words to avoid normative requirements twice but make the meaning clear. Fixes #795.
1 parent eb76491 commit fd94987

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

spec/service_worker/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3720,7 +3720,7 @@ <h1>Appendix B: Extended HTTP headers</h1>
37203720

37213721
<spec-section id="service-worker-script-request">
37223722
<h1>Service Worker Script Request</h1>
3723-
<p>An HTTP request to <a href="https://fetch.spec.whatwg.org/#concept-fetch">fetch</a> a <a href="#dfn-service-worker">service worker</a>'s <a href="#dfn-script-resource">script resource</a> <em class="rfc2119" title="MUST">must</em> include the following <a href="https://fetch.spec.whatwg.org/#concept-header">header</a>:</p>
3723+
<p>An HTTP request to <a href="https://fetch.spec.whatwg.org/#concept-fetch">fetch</a> a <a href="#dfn-service-worker">service worker</a>'s <a href="#dfn-script-resource">script resource</a> will include the following <a href="https://fetch.spec.whatwg.org/#concept-header">header</a>:</p>
37243724

37253725
<dl>
37263726
<dt>`<dfn><code>Service-Worker</code></dfn>`</dt>
@@ -3732,11 +3732,11 @@ <h1>Service Worker Script Request</h1>
37323732

37333733
<spec-section id="service-worker-script-response">
37343734
<h1>Service Worker Script Response</h1>
3735-
<p>An HTTP response to a <a href="#dfn-service-worker">service worker</a>'s <a href="#dfn-script-resource">script resource</a> request <em class="rfc2119" title="MAY">may</em> include the following <a href="https://fetch.spec.whatwg.org/#concept-header">header</a>:</p>
3735+
<p>An HTTP response to a <a href="#dfn-service-worker">service worker</a>'s <a href="#dfn-script-resource">script resource</a> request can include the following <a href="https://fetch.spec.whatwg.org/#concept-header">header</a>:</p>
37363736

37373737
<dl>
37383738
<dt>`<dfn><code>Service-Worker-Allowed</code></dfn>`</dt>
3739-
<dd>Indicates the user agent <em class="rfc2119" title="MUST">must</em> override the path restriction, which limits the maximum allowed <a href="#dfn-scope-url">scope url</a> that the script can <a href="#dfn-control">control</a>, to the given value.
3739+
<dd>Indicates the user agent will override the path restriction, which limits the maximum allowed <a href="#dfn-scope-url">scope url</a> that the script can <a href="#dfn-control">control</a>, to the given value.
37403740
<p class="note">The value is a URL. If a relative URL is given, it is parsed against the script's URL.</p>
37413741
</dd>
37423742
</dl>

spec/service_worker_1/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3718,7 +3718,7 @@ <h1>Appendix B: Extended HTTP headers</h1>
37183718

37193719
<spec-section id="service-worker-script-request">
37203720
<h1>Service Worker Script Request</h1>
3721-
<p>An HTTP request to <a href="https://fetch.spec.whatwg.org/#concept-fetch">fetch</a> a <a href="#dfn-service-worker">service worker</a>'s <a href="#dfn-script-resource">script resource</a> <em class="rfc2119" title="MUST">must</em> include the following <a href="https://fetch.spec.whatwg.org/#concept-header">header</a>:</p>
3721+
<p>An HTTP request to <a href="https://fetch.spec.whatwg.org/#concept-fetch">fetch</a> a <a href="#dfn-service-worker">service worker</a>'s <a href="#dfn-script-resource">script resource</a> will include the following <a href="https://fetch.spec.whatwg.org/#concept-header">header</a>:</p>
37223722

37233723
<dl>
37243724
<dt>`<dfn><code>Service-Worker</code></dfn>`</dt>
@@ -3730,11 +3730,11 @@ <h1>Service Worker Script Request</h1>
37303730

37313731
<spec-section id="service-worker-script-response">
37323732
<h1>Service Worker Script Response</h1>
3733-
<p>An HTTP response to a <a href="#dfn-service-worker">service worker</a>'s <a href="#dfn-script-resource">script resource</a> request <em class="rfc2119" title="MAY">may</em> include the following <a href="https://fetch.spec.whatwg.org/#concept-header">header</a>:</p>
3733+
<p>An HTTP response to a <a href="#dfn-service-worker">service worker</a>'s <a href="#dfn-script-resource">script resource</a> request can include the following <a href="https://fetch.spec.whatwg.org/#concept-header">header</a>:</p>
37343734

37353735
<dl>
37363736
<dt>`<dfn><code>Service-Worker-Allowed</code></dfn>`</dt>
3737-
<dd>Indicates the user agent <em class="rfc2119" title="MUST">must</em> override the path restriction, which limits the maximum allowed <a href="#dfn-scope-url">scope url</a> that the script can <a href="#dfn-control">control</a>, to the given value.
3737+
<dd>Indicates the user agent will override the path restriction, which limits the maximum allowed <a href="#dfn-scope-url">scope url</a> that the script can <a href="#dfn-control">control</a>, to the given value.
37383738
<p class="note">The value is a URL. If a relative URL is given, it is parsed against the script's URL.</p>
37393739
</dd>
37403740
</dl>

0 commit comments

Comments
 (0)