Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: LayoutTests/fast/workers/worker-onerror-04-expected.txt

Issue 26770004: Add console message levels to test expectation output. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: line 7: Uncaught ReferenceError: foo is not defined 1 CONSOLE ERROR: line 7: Uncaught ReferenceError: foo is not defined
2 This tests that unhandled exceptions in a worker's onerror handler trigger 'work er.onerror'. 2 This tests that unhandled exceptions in a worker's onerror handler trigger 'work er.onerror'.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 7
8 Page-level worker.onerror handler triggered: 8 Page-level worker.onerror handler triggered:
9 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" 9 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined"
10 PASS stripURL(errorEvent.filename) is "[blob: URL]" 10 PASS stripURL(errorEvent.filename) is "[blob: URL]"
11 PASS errorEvent.lineno is 7 11 PASS errorEvent.lineno is 7
12 PASS errorEvent.colno is 8 12 PASS errorEvent.colno is 8
13 PASS errorEvent.error is null 13 PASS errorEvent.error is null
14 14
15 Page-level worker.onerror handler triggered: 15 Page-level worker.onerror handler triggered:
16 PASS errorEvent.message is "Uncaught ReferenceError: bar is not defined" 16 PASS errorEvent.message is "Uncaught ReferenceError: bar is not defined"
17 PASS stripURL(errorEvent.filename) is "[blob: URL]" 17 PASS stripURL(errorEvent.filename) is "[blob: URL]"
18 PASS errorEvent.lineno is 3 18 PASS errorEvent.lineno is 3
19 PASS errorEvent.colno is 12 19 PASS errorEvent.colno is 12
20 PASS errorEvent.error is null 20 PASS errorEvent.error is null
21 PASS successfullyParsed is true 21 PASS successfullyParsed is true
22 22
23 TEST COMPLETE 23 TEST COMPLETE
24 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698