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

Side by Side Diff: LayoutTests/fast/workers/worker-context-multi-port-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
« no previous file with comments | « no previous file | LayoutTests/fast/workers/worker-formdata-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This test checks the various use cases around sending multiple ports through Wor kerGlobalScope.postMessage 1 This test checks the various use cases around sending multiple ports through Wor kerGlobalScope.postMessage
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 PASS successfullyParsed is true 6 PASS successfullyParsed is true
7 7
8 TEST COMPLETE 8 TEST COMPLETE
9 PASS event.ports is non-null and zero length when no port sent 9 PASS event.ports is non-null and zero length when no port sent
10 PASS event.ports is non-null and zero length when empty array sent 10 PASS event.ports is non-null and zero length when empty array sent
11 PASS event.ports contains two ports when two ports sent 11 PASS event.ports contains two ports when two ports sent
12 PASS posting a null port did throw: TypeError: Failed to execute 'postMessage' o n 'WorkerGlobalScope': Value at index 1 is an untransferable 'null' value. 12 PASS posting a null port did throw: TypeError: Failed to execute 'postMessage' o n 'DedicatedWorkerGlobalScope': Value at index 1 is an untransferable 'null' val ue.
13 PASS posting a non-port did throw: TypeError: Failed to execute 'postMessage' on 'WorkerGlobalScope': Value at index 1 does not have a transferable type. 13 PASS posting a non-port did throw: TypeError: Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': Value at index 1 does not have a transferable typ e.
14 PASS event.ports contains two ports when two ports re-sent after error 14 PASS event.ports contains two ports when two ports re-sent after error
15 PASS posting a non-array did throw: TypeError: Failed to execute 'postMessage' o n 'WorkerGlobalScope': The 2nd argument is neither an array, nor does it have in dexed properties. 15 PASS posting a non-array did throw: TypeError: Failed to execute 'postMessage' o n 'DedicatedWorkerGlobalScope': The 2nd argument is neither an array, nor does i t have indexed properties.
16 PASS posting a non-sequence did throw: TypeError: Failed to execute 'postMessage ' on 'WorkerGlobalScope': Value at index 0 does not have a transferable type. 16 PASS posting a non-sequence did throw: TypeError: Failed to execute 'postMessage ' on 'DedicatedWorkerGlobalScope': Value at index 0 does not have a transferable type.
17 17
18 TEST COMPLETE 18 TEST COMPLETE
19 19
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/workers/worker-formdata-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698