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

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

Issue 19605005: Add 'self.onerror' to Worker tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test only. 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-crossorigin-expected.txt
diff --git a/LayoutTests/http/tests/workers/worker-importScripts-onerror-crossorigin-expected.txt b/LayoutTests/http/tests/workers/worker-importScripts-onerror-crossorigin-expected.txt
index fe400d0d561d5729ec77b1e7b58585add541c7eb..1e5d9fb2e5ae90f0981a9c50d55870c1684fb2f0 100644
--- a/LayoutTests/http/tests/workers/worker-importScripts-onerror-crossorigin-expected.txt
+++ b/LayoutTests/http/tests/workers/worker-importScripts-onerror-crossorigin-expected.txt
@@ -3,9 +3,13 @@ Ensure that scripts imported into a Worker from cross-origin hosts trigger sanit
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+PASS workerOnerror.message is "Uncaught undefined"
+PASS workerOnerror.url is "http://127.0.0.1:8000/workers/resources/worker-importscripts-onerror-crossorigin.js"
+PASS workerOnerror.line is 5
+PASS workerOnerror.column is 0
PASS onerrorMessage is "Uncaught undefined"
PASS onerrorURL is "http://127.0.0.1:8000/workers/resources/worker-importscripts-onerror-crossorigin.js"
-PASS onerrorLine is 1
+FAIL onerrorLine should be 1. Was 5.
do-not-use 2013/07/25 08:08:14 Why is this failing?
Mike West 2013/07/25 08:29:01 I added the 'self.onerror' handler, which moved ev
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698