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

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

Issue 1156973002: [bindings] Use |PostMessage| attribute for DedicatedWorkerGlobalScope.postMessage to eliminate cust… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
OLDNEW
1 This tests that unhandled exceptions in postMessage() are delivered to 'worker.o nerror'. 1 This tests that unhandled exceptions in postMessage() are delivered to 'worker.o nerror'.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 6
7 Page-level worker.onerror handler triggered: 7 Page-level worker.onerror handler triggered:
8 PASS errorEvent.message is "Uncaught TypeError: Failed to execute 'postMessage' on 'WorkerGlobalScope': The 2nd argument is neither an array, nor does it have i ndexed properties." 8 PASS errorEvent.message is "Uncaught TypeError: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': The 2nd argument is neither an array, nor does it have indexed properties."
9 PASS stripURL(errorEvent.filename) is "[blob: URL]" 9 PASS stripURL(errorEvent.filename) is "[blob: URL]"
10 PASS errorEvent.lineno is 3 10 PASS errorEvent.lineno is 3
11 FAIL errorEvent.colno should be 9. Was 24. 11 FAIL errorEvent.colno should be 9. Was 24.
12 PASS errorEvent.error is null 12 PASS errorEvent.error is null
13 PASS successfullyParsed is true 13 PASS successfullyParsed is true
14 14
15 TEST COMPLETE 15 TEST COMPLETE
16 16
OLDNEW
« no previous file with comments | « LayoutTests/fast/workers/worker-onerror-09.html ('k') | Source/bindings/core/v8/custom/V8DedicatedWorkerGlobalScopeCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698