haikuwebkit/LayoutTests/js/dom/unhandled-promise-rejection...

12 lines
411 B
Plaintext

[Worker] Test rejected promises are returned from bindings and trigger unhandledrejection.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Starting worker: ../resources/unhandled-promise-rejection-bindings-type-error-in-workers.js
PASS [Worker] error.promise is promise
PASS [Worker] error.reason instanceof TypeError is true
PASS successfullyParsed is true
TEST COMPLETE