1 CONSOLE ERROR: line 12: Uncaught Error: An expected error
2 Test that the window.onerror handler in resources/js-test.js stops asynchronous tests
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 Will throw an error soon
8 Throwing an expected error
9 PASS Got expected error: 'expected error'
10 PASS successfullyParsed is true