You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should not succeed (because the thenable never settles to anything, let alone the expected rejection), but it does because the result of then is used to directly resolve the assert.throwsAsync promise (i.e., assuming that then is itself conforming). Instead, res should itself be absorbed into an actual Promise which will definitely invoke the appropriate then callback upon settlement.
The text was updated successfully, but these errors were encountered:
gibson042
added a commit
to gibson042/test262
that referenced
this issue
Aug 1, 2024
e.g.,
should not succeed (because the thenable never settles to anything, let alone the expected rejection), but it does because the result of
then
is used to directly resolve theassert.throwsAsync
promise (i.e., assuming thatthen
is itself conforming). Instead,res
should itself be absorbed into an actual Promise which will definitely invoke the appropriatethen
callback upon settlement.The text was updated successfully, but these errors were encountered: