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

Unified Diff: LayoutTests/fast/workers/worker-onerror-09-expected.txt

Issue 30673002: More informative error messages for non-Transferables. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More informative error messages for non-Transferables. Created 7 years, 2 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 | « LayoutTests/fast/workers/worker-onerror-09.html ('k') | Source/bindings/v8/ExceptionMessages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/workers/worker-onerror-09-expected.txt
diff --git a/LayoutTests/fast/workers/worker-onerror-09-expected.txt b/LayoutTests/fast/workers/worker-onerror-09-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6349e5d4442e51a7fb018148c56258cab616b1f5
--- /dev/null
+++ b/LayoutTests/fast/workers/worker-onerror-09-expected.txt
@@ -0,0 +1,16 @@
+This tests that unhandled exceptions in postMessage() are delivered to 'worker.onerror'.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+
+Page-level worker.onerror handler triggered:
+PASS errorEvent.message is "Uncaught TypeError: Failed to execute 'postMessage' on 'WorkerGlobalScope': Second argument is neither an array, nor does it have indexed properties."
+PASS stripURL(errorEvent.filename) is "[blob: URL]"
+PASS errorEvent.lineno is 3
+PASS errorEvent.colno is 9
+PASS errorEvent.error is null
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/workers/worker-onerror-09.html ('k') | Source/bindings/v8/ExceptionMessages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698