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

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

Issue 19514006: Explicitly test same/cross-origin importScripts() effect on worker.onerror. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase. Created 7 years, 5 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-onerror-sameorigin-expected.txt
diff --git a/LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin-expected.txt b/LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..fafab643cea285521dc45b561bda831ae1997ef0
--- /dev/null
+++ b/LayoutTests/http/tests/workers/worker-importScripts-onerror-sameorigin-expected.txt
@@ -0,0 +1,12 @@
+Ensure that scripts imported into a Worker from same-origin hosts trigger detailed onerror messages.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS onerrorMessage is "Uncaught This is a custom error message."
+PASS onerrorURL is "http://127.0.0.1:8000/workers/resources/worker-importscripts-onerror-sameorigin.js"
+PASS onerrorLine is 1
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698