Skip to content

Commit 502d020

Browse files
committed
Backport fb87f29 to V1
1 parent fb87f29 commit 502d020

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@
11791179
<link href="https://www.w3.org/StyleSheets/TR/2016/W3C-ED" rel="stylesheet" type="text/css">
11801180
<meta content="Bikeshed version 684b7af5acf2630a118f6d3ab3978cfc3d7e431f" name="generator">
11811181
<link href="https://www.w3.org/TR/service-workers/" rel="canonical">
1182-
<meta content="6fbe60026f1d4321cf55de2c9e7f0862f8cbbbf4" name="document-revision">
1182+
<meta content="fb87f29eaed9ea1df0f8f97fa791eb62b4f3e495" name="document-revision">
11831183
<style>/* style-md-lists */
11841184

11851185
/* This is a weird hack for me not yet following the commonmark spec
@@ -2501,7 +2501,7 @@ <h3 class="heading settled" data-level="4.2" id="client-interface"><span class="
25012501
<span class="kt">readonly</span> <span class="kt">attribute</span> <a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean③"><span class="kt">boolean</span></a> <a class="nv idl-code" data-link-type="attribute" data-readonly="" data-type="boolean" href="#dom-windowclient-focused" id="ref-for-dom-windowclient-focused">focused</a>;
25022502
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SameObject" id="ref-for-SameObject⑤">SameObject</a>] <span class="kt">readonly</span> <span class="kt">attribute</span> <span class="kt">FrozenArray</span>&lt;<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑥"><span class="kt">USVString</span></a>> <a class="nv idl-code" data-link-type="attribute" data-readonly="" data-type="FrozenArray<USVString>" href="#dom-windowclient-ancestororigins" id="ref-for-dom-windowclient-ancestororigins">ancestorOrigins</a>;
25032503
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑥">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient①">WindowClient</a>> <a class="nv idl-code" data-link-type="method" href="#dom-windowclient-focus" id="ref-for-dom-windowclient-focus">focus</a>();
2504-
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑦">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient②">WindowClient</a>> <dfn class="nv dfn-paneled idl-code" data-dfn-for="WindowClient" data-dfn-type="method" data-export="" data-lt="navigate(url)" id="dom-windowclient-navigate"><code>navigate</code></dfn>(<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑦"><span class="kt">USVString</span></a> <dfn class="nv idl-code" data-dfn-for="WindowClient/navigate(url)" data-dfn-type="argument" data-export="" id="dom-windowclient-navigate-url-url"><code>url</code><a class="self-link" href="#dom-windowclient-navigate-url-url"></a></dfn>);
2504+
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑦">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient②">WindowClient</a>?> <dfn class="nv dfn-paneled idl-code" data-dfn-for="WindowClient" data-dfn-type="method" data-export="" data-lt="navigate(url)" id="dom-windowclient-navigate"><code>navigate</code></dfn>(<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑦"><span class="kt">USVString</span></a> <dfn class="nv idl-code" data-dfn-for="WindowClient/navigate(url)" data-dfn-type="argument" data-export="" id="dom-windowclient-navigate-url-url"><code>url</code><a class="self-link" href="#dom-windowclient-navigate-url-url"></a></dfn>);
25052505
};
25062506
</pre>
25072507
<p>A <code class="idl"><a data-link-type="idl" href="#client" id="ref-for-client③">Client</a></code> object has an associated <dfn class="dfn-paneled" data-dfn-for="Client" data-dfn-type="dfn" data-noexport="" id="client-service-worker-client">service worker client</dfn> (a <a data-link-type="dfn" href="#dfn-service-worker-client" id="ref-for-dfn-service-worker-client②⑦">service worker client</a>).</p>
@@ -7032,7 +7032,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I
70327032
<span class="kt">readonly</span> <span class="kt">attribute</span> <a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean③①"><span class="kt">boolean</span></a> <a class="nv idl-code" data-link-type="attribute" data-readonly="" data-type="boolean" href="#dom-windowclient-focused" id="ref-for-dom-windowclient-focused②">focused</a>;
70337033
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SameObject" id="ref-for-SameObject⑤①">SameObject</a>] <span class="kt">readonly</span> <span class="kt">attribute</span> <span class="kt">FrozenArray</span>&lt;<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑥①"><span class="kt">USVString</span></a>> <a class="nv idl-code" data-link-type="attribute" data-readonly="" data-type="FrozenArray<USVString>" href="#dom-windowclient-ancestororigins" id="ref-for-dom-windowclient-ancestororigins②">ancestorOrigins</a>;
70347034
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑥①">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient①②">WindowClient</a>> <a class="nv idl-code" data-link-type="method" href="#dom-windowclient-focus" id="ref-for-dom-windowclient-focus②">focus</a>();
7035-
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑦①">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient②①">WindowClient</a>> <a class="nv" href="#dom-windowclient-navigate"><code>navigate</code></a>(<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑦①"><span class="kt">USVString</span></a> <a class="nv" href="#dom-windowclient-navigate-url-url"><code>url</code></a>);
7035+
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑦①">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient②①">WindowClient</a>?> <a class="nv" href="#dom-windowclient-navigate"><code>navigate</code></a>(<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑦①"><span class="kt">USVString</span></a> <a class="nv" href="#dom-windowclient-navigate-url-url"><code>url</code></a>);
70367036
};
70377037

70387038
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed⑦①">Exposed</a>=<span class="n">ServiceWorker</span>]

docs/v1/index.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
911911
readonly attribute boolean focused;
912912
[SameObject] readonly attribute FrozenArray&lt;USVString&gt; ancestorOrigins;
913913
[NewObject] Promise&lt;WindowClient&gt; focus();
914-
[NewObject] Promise&lt;WindowClient&gt; navigate(USVString url);
914+
[NewObject] Promise&lt;WindowClient?&gt; navigate(USVString url);
915915
};
916916
</pre>
917917

docs/v1/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@
11791179
<link href="https://www.w3.org/StyleSheets/TR/2016/W3C-ED" rel="stylesheet" type="text/css">
11801180
<meta content="Bikeshed version 684b7af5acf2630a118f6d3ab3978cfc3d7e431f" name="generator">
11811181
<link href="https://www.w3.org/TR/service-workers/" rel="canonical">
1182-
<meta content="6fbe60026f1d4321cf55de2c9e7f0862f8cbbbf4" name="document-revision">
1182+
<meta content="fb87f29eaed9ea1df0f8f97fa791eb62b4f3e495" name="document-revision">
11831183
<style>/* style-md-lists */
11841184

11851185
/* This is a weird hack for me not yet following the commonmark spec
@@ -2432,7 +2432,7 @@ <h3 class="heading settled" data-level="4.2" id="client-interface"><span class="
24322432
<span class="kt">readonly</span> <span class="kt">attribute</span> <a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean②"><span class="kt">boolean</span></a> <a class="nv idl-code" data-link-type="attribute" data-readonly="" data-type="boolean" href="#dom-windowclient-focused" id="ref-for-dom-windowclient-focused">focused</a>;
24332433
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SameObject" id="ref-for-SameObject④">SameObject</a>] <span class="kt">readonly</span> <span class="kt">attribute</span> <span class="kt">FrozenArray</span>&lt;<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑥"><span class="kt">USVString</span></a>> <a class="nv idl-code" data-link-type="attribute" data-readonly="" data-type="FrozenArray<USVString>" href="#dom-windowclient-ancestororigins" id="ref-for-dom-windowclient-ancestororigins">ancestorOrigins</a>;
24342434
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑥">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient①">WindowClient</a>> <a class="nv idl-code" data-link-type="method" href="#dom-windowclient-focus" id="ref-for-dom-windowclient-focus">focus</a>();
2435-
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑦">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient②">WindowClient</a>> <dfn class="nv dfn-paneled idl-code" data-dfn-for="WindowClient" data-dfn-type="method" data-export="" data-lt="navigate(url)" id="dom-windowclient-navigate"><code>navigate</code></dfn>(<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑦"><span class="kt">USVString</span></a> <dfn class="nv idl-code" data-dfn-for="WindowClient/navigate(url)" data-dfn-type="argument" data-export="" id="dom-windowclient-navigate-url-url"><code>url</code><a class="self-link" href="#dom-windowclient-navigate-url-url"></a></dfn>);
2435+
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑦">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient②">WindowClient</a>?> <dfn class="nv dfn-paneled idl-code" data-dfn-for="WindowClient" data-dfn-type="method" data-export="" data-lt="navigate(url)" id="dom-windowclient-navigate"><code>navigate</code></dfn>(<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑦"><span class="kt">USVString</span></a> <dfn class="nv idl-code" data-dfn-for="WindowClient/navigate(url)" data-dfn-type="argument" data-export="" id="dom-windowclient-navigate-url-url"><code>url</code><a class="self-link" href="#dom-windowclient-navigate-url-url"></a></dfn>);
24362436
};
24372437
</pre>
24382438
<p>A <code class="idl"><a data-link-type="idl" href="#client" id="ref-for-client③">Client</a></code> object has an associated <dfn class="dfn-paneled" data-dfn-for="Client" data-dfn-type="dfn" data-noexport="" id="client-service-worker-client">service worker client</dfn> (a <a data-link-type="dfn" href="#dfn-service-worker-client" id="ref-for-dfn-service-worker-client②⑦">service worker client</a>).</p>
@@ -6814,7 +6814,7 @@ <h2 class="no-num no-ref heading settled" id="idl-index"><span class="content">I
68146814
<span class="kt">readonly</span> <span class="kt">attribute</span> <a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-boolean" id="ref-for-idl-boolean②①"><span class="kt">boolean</span></a> <a class="nv idl-code" data-link-type="attribute" data-readonly="" data-type="boolean" href="#dom-windowclient-focused" id="ref-for-dom-windowclient-focused②">focused</a>;
68156815
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#SameObject" id="ref-for-SameObject④①">SameObject</a>] <span class="kt">readonly</span> <span class="kt">attribute</span> <span class="kt">FrozenArray</span>&lt;<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑥①"><span class="kt">USVString</span></a>> <a class="nv idl-code" data-link-type="attribute" data-readonly="" data-type="FrozenArray<USVString>" href="#dom-windowclient-ancestororigins" id="ref-for-dom-windowclient-ancestororigins②">ancestorOrigins</a>;
68166816
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑥①">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient①②">WindowClient</a>> <a class="nv idl-code" data-link-type="method" href="#dom-windowclient-focus" id="ref-for-dom-windowclient-focus②">focus</a>();
6817-
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑦①">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient②①">WindowClient</a>> <a class="nv" href="#dom-windowclient-navigate"><code>navigate</code></a>(<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑦①"><span class="kt">USVString</span></a> <a class="nv" href="#dom-windowclient-navigate-url-url"><code>url</code></a>);
6817+
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#NewObject" id="ref-for-NewObject⑦①">NewObject</a>] <span class="kt">Promise</span>&lt;<a class="n" data-link-type="idl-name" href="#windowclient" id="ref-for-windowclient②①">WindowClient</a>?> <a class="nv" href="#dom-windowclient-navigate"><code>navigate</code></a>(<a class="n idl-code" data-link-type="interface" href="https://heycam.github.io/webidl/#idl-USVString" id="ref-for-idl-USVString⑦①"><span class="kt">USVString</span></a> <a class="nv" href="#dom-windowclient-navigate-url-url"><code>url</code></a>);
68186818
};
68196819

68206820
[<a class="nv idl-code" data-link-type="extended-attribute" href="https://heycam.github.io/webidl/#Exposed" id="ref-for-Exposed⑥①">Exposed</a>=<span class="n">ServiceWorker</span>]

0 commit comments

Comments
 (0)