20 lines
665 B
Plaintext
20 lines
665 B
Plaintext
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-in-html-1.html in that it only works if Bugzilla Bug 3905 has been fixed.
|
|
|
|
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
|
|
|