blob: a6a98c1da19b3a859983314673c9c06c93b42a79 [file] [log] [blame]
This test exercises the source URL and line number that is embedded in JavaScript exceptions, which is displayed in places like the JavaScript console. It differs from exception-linenums.html in that the line numbers are derived from within the HTML source, not a JavaScript source file.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS typeof e.sourceURL is "string"
PASS e.line is 18
PASS typeof e.sourceURL is "string"
PASS e.line is 28
PASS typeof e.sourceURL is "string"
PASS e.line is 38
PASS typeof e.sourceURL is "string"
PASS e.line is 48
PASS typeof e.sourceURL is "string"
PASS e.line is 11
PASS successfullyParsed is true
TEST COMPLETE