Skip to content

Commit

Permalink
git squash commit for launch-web-app.
Browse files Browse the repository at this point in the history
6df8c285124ada2d39bd853e1c34fda409e954a4
git squash commit for launch-web-app.

bec2daf
Branch: launch-web-app

3cf3b6c
Fix refs

7e4f5d73e6fec087439efee7cc593905919e6cbd
line wrap
  • Loading branch information
alancutter committed Oct 28, 2022
1 parent 173b323 commit d618f09
Showing 1 changed file with 38 additions and 12 deletions.
50 changes: 38 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@
"ios_saf",
],
},
xref: "web-platform",
xref: {
profile: "web-platform",
specs: [
"service-workers",
"html",
],
},
};
</script>
<style>
Expand Down Expand Up @@ -1986,18 +1992,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 +2247,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 d618f09

Please sign in to comment.