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

Unified Diff: LayoutTests/http/tests/workers/worker-importScripts-expected.txt

Issue 22467005: Correctly attribute exceptions thrown inside a Worker's imported scripts. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Killing windows-specific expectations. 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/workers/worker-importScripts-expected.txt
diff --git a/LayoutTests/http/tests/workers/worker-importScripts-expected.txt b/LayoutTests/http/tests/workers/worker-importScripts-expected.txt
index a96ba033197be7cb423b48b6947922f49e4eb2b7..0d90fab89968967b2083a397d855046966f17118 100644
--- a/LayoutTests/http/tests/workers/worker-importScripts-expected.txt
+++ b/LayoutTests/http/tests/workers/worker-importScripts-expected.txt
@@ -27,18 +27,18 @@ Loaded resource 1
PASS: Threw NetworkError: A network error occurred. when load failed
PASS: some resources were loaded despite the network error
Loaded resource 1
-PASS: Threw SyntaxError: Unexpected identifier when encountering a syntax error in imported script
+PASS: Threw Error: Uncaught SyntaxError: Unexpected identifier when encountering a syntax error in imported script
PASS: some resources were loaded despite the presence of a syntax error
Testing multiple arguments, with first resource throwing an exception:
Loaded resource 1
First resource throwing an exception
-PASS: Propagated 'Thrown by first resource' from script
+PASS: Propagated 'Error: Uncaught Thrown by first resource' from script
PASS: First resource was executed, and second resource was not
Testing multiple arguments, with second resource throwing an exception:
Loaded resource 1
Loaded resource 2
Second resource throwing an exception
-PASS: Propagated 'Thrown by second resource' from script
+PASS: Propagated 'Error: Uncaught Thrown by second resource' from script
PASS: Both scripts were executed
DONE

Powered by Google App Engine
This is Rietveld 408576698