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

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

Issue 743153002: [DevTools] Show stack trace for exceptions in dedicated workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@worker-capture-stack
Patch Set: Rebased Created 6 years 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
« no previous file with comments | « no previous file | LayoutTests/inspector/console/resources/worker-with-throw.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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'. 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
« no previous file with comments | « no previous file | LayoutTests/inspector/console/resources/worker-with-throw.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698