Skip to content

Remove inaccurate algorithm step#1939

Open
jugglinmike wants to merge 1 commit intow3c:masterfrom
bocoup:execute-async-script-remove-step
Open

Remove inaccurate algorithm step#1939
jugglinmike wants to merge 1 commit intow3c:masterfrom
bocoup:execute-async-script-remove-step

Conversation

@jugglinmike
Copy link
Contributor

@jugglinmike jugglinmike commented Jan 14, 2026

In modern implementations of this specification (the latest releases of Firefox, Chrome, and Safari), a returned thenable only impacts execution if it represents a Promise that is rejected prior to the invocation of the script's callback function. Fulfillment values are ignored in all cases.


I'm working on a fix for gh-1436. I'd like to correct this bug first (if it is indeed a bug) so that that fix can be more focused.

Relevant WPT tests: web-platform-tests/wpt#57160


Preview | Diff

In modern implementations of this specification (the latest releases of
Firefox, Chrome, and Safari), a returned thenable only impacts execution
if it represents a Promise that is rejected prior to the invocation of
the script's callback function. Fulfillment values are ignored in all
cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant