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

Side by Side Diff: LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin-expected.txt

Issue 22650008: Add 'error' property to exceptions thrown via Worker::importScripts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Feedback. Created 7 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 | Annotate | Revision Log
OLDNEW
1 Ensure that scripts imported into a Worker from same-origin hosts trigger detail ed onerror messages. 1 Ensure that scripts imported into a Worker from same-origin hosts trigger detail ed onerror messages.
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 PASS workerOnerror.message is "Uncaught This is a custom error message." 6 PASS workerOnerror.message is "Uncaught This is a custom error message."
7 PASS workerOnerror.filename is "http://127.0.0.1:8000/workers/resources/worker-i mportScripts-throw.js" 7 PASS workerOnerror.filename is "http://127.0.0.1:8000/workers/resources/worker-i mportScripts-throw.js"
8 PASS workerOnerror.lineno is 1 8 PASS workerOnerror.lineno is 1
9 PASS workerOnerror.colno is 0 9 PASS workerOnerror.colno is 0
10 PASS workerOnerror.error is null 10 PASS workerOnerror.error is not null
11 PASS workerOnerror.error is "This is a custom error message."
11 PASS pageOnerror.message is "Uncaught This is a custom error message." 12 PASS pageOnerror.message is "Uncaught This is a custom error message."
12 PASS pageOnerror.filename is "http://127.0.0.1:8000/workers/resources/worker-imp ortScripts-throw.js" 13 PASS pageOnerror.filename is "http://127.0.0.1:8000/workers/resources/worker-imp ortScripts-throw.js"
13 PASS pageOnerror.lineno is 1 14 PASS pageOnerror.lineno is 1
14 PASS pageOnerror.colno is 0 15 PASS pageOnerror.colno is 0
15 PASS pageOnerror.error is null 16 PASS pageOnerror.error is null
16 PASS successfullyParsed is true 17 PASS successfullyParsed is true
17 18
18 TEST COMPLETE 19 TEST COMPLETE
19 20
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin.html ('k') | Source/bindings/v8/V8ErrorHandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698