- From: Noam Rosenthal <notifications@github.com>
- Date: Mon, 15 Jul 2024 01:11:56 -0700
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 15 July 2024 08:12:01 UTC
@annevk I looked at this again and this is not an issue. - Creating a resolved promise in itself does not trigger an author-provided script. - Calling [react to a promise](https://webidl.spec.whatwg.org/#dfn-perform-steps-once-promise-is-settled) on an already resolved promise also, in itself, doesn't trigger a user script. It triggers custom steps, some of which would trigger a user script (e.g. calling `resolve`, or evaluating a script, or executing an existing registered callback etc.) If I missed one of the paths that runs a user script I'm happy to correct this but I couldn't so far so for the extent of my research this PR is correct. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/pull/1400#issuecomment-2227926846 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/pull/1400/c2227926846@github.com>
Received on Monday, 15 July 2024 08:12:01 UTC