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

11 lines
466 B
Plaintext

Test Promise with Promise A+ tests 2.3.1.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS 2.3.1: If `promise` and `x` refer to the same object, reject `promise` with a `TypeError' as the reason. via return from a fulfilled promise
PASS 2.3.1: If `promise` and `x` refer to the same object, reject `promise` with a `TypeError' as the reason. via return from a rejected promise
PASS successfullyParsed is true
TEST COMPLETE