Skip to content

Commit

Permalink
Remove html dep
Browse files Browse the repository at this point in the history
  • Loading branch information
alancutter committed Oct 28, 2022
1 parent 173b323 commit 6c942c8
Showing 1 changed file with 37 additions and 12 deletions.
49 changes: 37 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"ios_saf",
],
},
xref: "web-platform",
xref: {
profile: "web-platform",
specs: [
"service-workers",
],
},
};
</script>
<style>
Expand Down Expand Up @@ -1986,18 +1991,10 @@ <h3>
</h3>
<p>
When <a>shortcut item</a> <var>shortcut</var> having
<var>manifest</var> is invoked, run the following steps:
<var>manifest</var> is invoked, run the steps to
[=launch a web application=] given <var>mainfest</var> and
<var>shortcut.url</var>.
</p>
<ol class="algorithm">
<li>Let <var>url</var> be <var>shortcut.url</var>.
</li>
<li>Let <var>browsing context</var> be the result of creating a new
<a>top-level browsing context</a>.
</li>
<li>
<a>Navigate</a> <var>browsing context</var> to <var>url</var>.
</li>
</ol>
</section>
<section>
<h2>
Expand Down Expand Up @@ -2249,6 +2246,34 @@ <h3>
available underneath an icon).
</p>
</section>
<section>
<h3 id="installation-sec">
Launching a web application
</h3>
<p>
The steps to <dfn>launch a web application</dfn> is given by the
following algorithm. The algorithm takes a
[=Document/processed manifest=] |manifest:processed manifest|,
an optional |target URL:URL| and returns a
[=service worker client/window client=].
</p>
<ol class="algorithm">
<li>If <var>url</var> is unset, set <var>url</var> to
|manifest|.[=manifest/start_url=].
</li>
<li>Let |client| be the result of
<a href="https://html.spec.whatwg.org/multipage/browsers.html#creating-a-new-top-level-browsing-context">
creating a new top-level browsing context</a>.
</li>
<li><a data-cite="appmanifest#dfn-applied">Apply</a> |manifest| to
|client|.
</li>
<li>Run the steps to [=navigate=] |client| passing |url|.
</li>
<li>Return |client|.
</li>
</ol>
</section>
<section>
<h3 id="installation-sec">
Privacy and security considerations
Expand Down

0 comments on commit 6c942c8

Please sign in to comment.