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

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

Issue 2090953006: [Blink-Workers]Set verbosity of the external exception handler. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code changed as per the comments. Created 4 years, 4 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 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 don't trigger 'worker.onerror'.
2 2
3 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 ".
4 4
5 5
6 6
7 Page-level worker.onerror handler triggered: 7 Page-level worker.onerror handler triggered:
8 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined" 8 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined"
9 PASS stripURL(errorEvent.filename) is "[blob: URL]" 9 PASS stripURL(errorEvent.filename) is "[blob: URL]"
10 PASS errorEvent.lineno is 7 10 PASS errorEvent.lineno is 7
11 PASS errorEvent.colno is 9 11 PASS errorEvent.colno is 9
12 PASS errorEvent.error is null 12 PASS errorEvent.error is null
13 13
14 Page-level worker.onerror handler triggered: 14 Page-level worker.onerror handler triggered:
15 PASS errorEvent.message is "Uncaught ReferenceError: bar is not defined" 15 PASS errorEvent.message is "Uncaught ReferenceError: foo is not defined"
16 PASS stripURL(errorEvent.filename) is "[blob: URL]" 16 PASS stripURL(errorEvent.filename) is "[blob: URL]"
17 PASS errorEvent.lineno is 3 17 PASS errorEvent.lineno is 7
18 PASS errorEvent.colno is 13 18 PASS errorEvent.colno is 9
19 PASS errorEvent.error is null 19 PASS errorEvent.error is null
20 PASS successfullyParsed is true 20 PASS successfullyParsed is true
21 21
22 TEST COMPLETE 22 TEST COMPLETE
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698