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

Unified Diff: LayoutTests/http/tests/workers/shared-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: 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/shared-worker-importScripts-expected.txt
diff --git a/LayoutTests/http/tests/workers/shared-worker-importScripts-expected.txt b/LayoutTests/http/tests/workers/shared-worker-importScripts-expected.txt
index a66f0b3888b32c6fa28988cc704bb04fb111e247..d22957061e6b13d6149398b2a9ad017b39b5a886 100644
--- a/LayoutTests/http/tests/workers/shared-worker-importScripts-expected.txt
+++ b/LayoutTests/http/tests/workers/shared-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