Re: [w3c/manifest] Add `navigator.install()` (PR #1175)

@christianliebel commented on this pull request.



> +          <li>If |document| is not [=Document/fully active=], return [=a
+          promise rejected with=] an {{"InvalidStateError"}} {{DOMException}}.
+          </li><!-- todo: permission policy? -->
+          <li>If [=this=].{{Navigator/[[installPromise]]}} is not `null`,
+          return [=a promise rejected with=] an {{"InvalidStateError"}}
+          {{DOMException}}.
+          </li>
+          <li>If |global| does not have [=transient activation=], return [=a
+          promise rejected with=] a {{"NotAllowedError"}} {{DOMException}}.
+          </li>
+          <li>[=Consume user activation=] of |global|.
+          </li>
+          <li>Set [=this=].{{Navigator/[[installPromise]]}} to be <a>a new
+          promise</a>.
+          </li>
+          <li>Return [=this=].{{Navigator/[[installPromise]]}} and <a>in

The step now says "Present an installation UI for the document's manifest."

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

Message ID: <w3c/manifest/pull/1175/review/2961880931@github.com>

Received on Thursday, 26 June 2025 12:15:46 UTC