- From: Marcos Cáceres <notifications@github.com>
- Date: Sun, 22 Jun 2025 23:54:13 -0700
- To: w3c/manifest <manifest@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 23 June 2025 06:54:16 UTC
@marcoscaceres commented on this pull request.
> + <li>[=Resolve=] [=this=].{{Navigator/[[installPromise]]}}
+ with `undefined`.
+ </li>
+ <li>Set [=this=].{{Navigator/[[installPromise]]}} to `null`.
+ </li>
I think we want this the other way around... otherwise, resolving the promise would immediately call the resolver function, which might put things in a weird state.
```suggestion
<li>Set [=this=].{{Navigator/[[installPromise]]}} to `null`.
</li>
<li>[=Resolve=] [=this=].{{Navigator/[[installPromise]]}}
with `undefined`.
</li>
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/1175#pullrequestreview-2948874496
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/manifest/pull/1175/review/2948874496@github.com>
Received on Monday, 23 June 2025 06:54:16 UTC