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

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

Issue 607513002: Onerror return value handling in workers fixed as per HTML5 spec. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added new layout tests and rebaselined two of them. Created 6 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
OLDNEW
1 CONSOLE ERROR: line 7: Uncaught ReferenceError: foo is not defined
jochen (gone - plz use gerrit) 2014/10/09 11:27:29 why is this error gone? the onerror handler in the
2 This tests that unhandled exceptions in a worker's onerror handler trigger 'work er.onerror'. 1 This tests that unhandled exceptions in a worker's onerror handler trigger 'work er.onerror'.
3 2
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 4
6 5
7 6
8 Page-level worker.onerror handler triggered: 7 Page-level worker.onerror handler triggered:
9 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" 8 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined"
10 PASS stripURL(errorEvent.filename) is "[blob: URL]" 9 PASS stripURL(errorEvent.filename) is "[blob: URL]"
11 PASS errorEvent.lineno is 7 10 PASS errorEvent.lineno is 7
12 PASS errorEvent.colno is 9 11 PASS errorEvent.colno is 9
13 PASS errorEvent.error is null 12 PASS errorEvent.error is null
14 13
15 Page-level worker.onerror handler triggered: 14 Page-level worker.onerror handler triggered:
16 PASS errorEvent.message is "Uncaught ReferenceError: bar is not defined" 15 PASS errorEvent.message is "Uncaught ReferenceError: bar is not defined"
17 PASS stripURL(errorEvent.filename) is "[blob: URL]" 16 PASS stripURL(errorEvent.filename) is "[blob: URL]"
18 PASS errorEvent.lineno is 3 17 PASS errorEvent.lineno is 3
19 PASS errorEvent.colno is 13 18 PASS errorEvent.colno is 13
20 PASS errorEvent.error is null 19 PASS errorEvent.error is null
21 PASS successfullyParsed is true 20 PASS successfullyParsed is true
22 21
23 TEST COMPLETE 22 TEST COMPLETE
24 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698