-
- Downloads
Limit semantics under test
Because these tests concern the behavior of the PromiseReactionJob abstract operation itself, they should avoid assumptions about the correct implementation of that operation. Specifically: they should not rely on the behavior of abupt completions returned from "reaction handler" functions. Re-implement tests to express control flow expectations using the `$DONE` function only.
Showing
- test/built-ins/Promise/prototype/then/rxn-handler-fulfilled-invoke-nonstrict.js 10 additions, 3 deletions.../prototype/then/rxn-handler-fulfilled-invoke-nonstrict.js
- test/built-ins/Promise/prototype/then/rxn-handler-fulfilled-invoke-strict.js 10 additions, 3 deletions...ise/prototype/then/rxn-handler-fulfilled-invoke-strict.js
- test/built-ins/Promise/prototype/then/rxn-handler-identity.js 6 additions, 2 deletions.../built-ins/Promise/prototype/then/rxn-handler-identity.js
- test/built-ins/Promise/prototype/then/rxn-handler-rejected-invoke-nonstrict.js 8 additions, 4 deletions...e/prototype/then/rxn-handler-rejected-invoke-nonstrict.js
- test/built-ins/Promise/prototype/then/rxn-handler-rejected-invoke-strict.js 8 additions, 4 deletions...mise/prototype/then/rxn-handler-rejected-invoke-strict.js
- test/built-ins/Promise/prototype/then/rxn-handler-thrower.js 5 additions, 3 deletionstest/built-ins/Promise/prototype/then/rxn-handler-thrower.js
Please register or sign in to comment