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

Unified Diff: LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin.html

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin.html
diff --git a/LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin.html b/LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin.html
index b3a2ef35654c5957029e25bf910fbe4154f77fcb..ef13fd1f86f17120bf4ac12ba53708770afa8ebf 100644
--- a/LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin.html
+++ b/LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin.html
@@ -21,7 +21,8 @@
shouldBeEqualToString("workerOnerror.filename", "http://127.0.0.1:8000/workers/resources/worker-importScripts-throw.js");
shouldEvaluateTo("workerOnerror.lineno", 1);
shouldEvaluateTo("workerOnerror.colno", 0);
- shouldBeNull("workerOnerror.error");
+ shouldNotBe("workerOnerror.error", "null");
+ shouldBeEqualToString("workerOnerror.error", "This is a custom error message.");
};
var onerrorMessage, onerrorURL, onerrorLine;
« no previous file with comments | « no previous file | LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698