Re: [w3c/manifest] Add shortcuts feature to the explainer and spec (#768)

aarongustafson commented on this pull request.



> +          representations of the shortcut in various contexts.
+        </p>
+      </section>
+      <section>
+        <h3>
+          <dfn>Launching a shortcut</dfn>
+        </h3>
+        <p>
+          When <a>ShortcutItem</a> <var>shortcut</var> having
+          <a>WebAppManifest</a> <var>manifest</var> is invoked, run the
+          following steps:
+        </p>
+        <ol>
+          <li>Let <var>url</var> be <var>shortcut.url</var>.
+          </li>
+          <li>Let <var>browsing context</var> be the result of creating a new

In most cases it would be a fresh launch of the PWA or (potentially) a fresh tab within the context of a PWA (if tabs are supported). There is separate work ongoing with respect to the [launch event](https://github.com/WICG/sw-launch) that feels like it could enable what you are looking for with respect to the service worker.

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

Received on Wednesday, 18 September 2019 02:51:57 UTC