Re: [w3c/manifest] Define an algorithm for launching web app (PR #1056)

@marcoscaceres commented on this pull request.



> +          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>[=Apply=] |manifest| to |client|.
+          </li>
+          <li>[=Navigate=] |client| to |url|.
+          </li>
+          <li>Return |client|.

Navigating takes time... does that matter? Also, need to check if navigation can fail. 

Also, does the client need to be returned? 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/1056#pullrequestreview-1159579089
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/manifest/pull/1056/review/1159579089@github.com>

Received on Friday, 28 October 2022 07:19:50 UTC