Skip to content

Commit

Permalink
Merge pull request #81 from alancutter/cease-using-sw-client
Browse files Browse the repository at this point in the history
Replace "Service Worker client" with "top-level browsing context" in spec
  • Loading branch information
alancutter authored Oct 31, 2022
2 parents 036bada + f458b3c commit 5c62bac
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"infra",
"mediaqueries",
"permissions",
"service-workers",
"url",
"web-platform"
]
Expand Down Expand Up @@ -344,7 +343,7 @@ <h2>
</h2>
<p>
A <dfn>web app launch client</dfn> is a
[=service worker client/window client=] associated with the web app.
[=top-level browsing context=] associated with the web app.
</p>
<p class="note">
The exact form of this association is up to the user agent e.g. a
Expand Down Expand Up @@ -381,12 +380,12 @@ <h2>
[=client mode/focus-existing=]</code>
<dd>
<ol class="algorithm">
<li>If there is no [=service worker client/window client=] for
<li>If there is no [=top-level browsing context=] for
the web app, return the result of the result of
[=prepare a new web app launch client=] passing |manifest|
and |target URL|.
</li>
<li>Let |client| be a [=service worker client/window client=]
<li>Let |client| be a [=top-level browsing context=]
for the web app, the exact selection algorithm is decided
by the user agent.
</li>
Expand Down

0 comments on commit 5c62bac

Please sign in to comment.