haikuwebkit/LayoutTests/js/promises-tests/promises-tests-2-1-3-expect...

15 lines
844 B
Plaintext

Test Promise with Promise A+ tests 2.1.3.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS 2.1.3.1: When rejected, a promise: must not transition to any other state. already-rejected
PASS 2.1.3.1: When rejected, a promise: must not transition to any other state. immediately-rejected
PASS 2.1.3.1: When rejected, a promise: must not transition to any other state. eventually-rejected
PASS 2.1.3.1: When rejected, a promise: must not transition to any other state. trying to reject then immediately fulfill
PASS 2.1.3.1: When rejected, a promise: must not transition to any other state. trying to reject then fulfill, delayed
PASS 2.1.3.1: When rejected, a promise: must not transition to any other state. trying to reject immediately then fulfill delayed
PASS successfullyParsed is true
TEST COMPLETE