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

Side by Side Diff: LayoutTests/fast/events/message-port-clone-expected.txt

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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 Tests various use cases when cloning MessagePorts. 1 Tests various use cases when cloning MessagePorts.
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 channel.port1.postMessage('msg', [channel.port1]) threw exception DataClone Error: Failed to execute 'postMessage' on 'MessagePort': Item #0 in the array of ports contains the source port.. 6 PASS channel.port1.postMessage('msg', [channel.port1]) threw exception DataClone Error: Failed to execute 'postMessage' on 'MessagePort': Item #0 in the array of ports contains the source port..
7 Posting port to entangled pair neuters the port and does nothing else: 7 Posting port to entangled pair neuters the port and does nothing else:
8 PASS channel2.port1.postMessage('msg', [channel.port2]) threw exception DataClon eError: Failed to execute 'disentanglePorts' on 'MessagePort': Item #0 in the ar ray of ports is already neutered.. 8 PASS channel2.port1.postMessage('msg', [channel.port2]) threw exception DataClon eError: Failed to execute 'postMessage' on 'MessagePort': Item #0 in the array o f ports is already neutered..
9 PASS channel.port1.postMessage('msg', [channel2.port1]) threw exception DataClon eError: Failed to execute 'disentanglePorts' on 'MessagePort': Item #0 in the ar ray of ports is already neutered.. 9 PASS channel.port1.postMessage('msg', [channel2.port1]) threw exception DataClon eError: Failed to execute 'postMessage' on 'MessagePort': Item #0 in the array o f ports is already neutered..
10 PASS testEvent.ports.length is 1 10 PASS testEvent.ports.length is 1
11 PASS parseInt(testEvent.data) is 1 11 PASS parseInt(testEvent.data) is 1
12 PASS parseInt(testEvent.data) is 2 12 PASS parseInt(testEvent.data) is 2
13 PASS parseInt(testEvent.data) is 3 13 PASS parseInt(testEvent.data) is 3
14 PASS Posted messages to cloned port. 14 PASS Posted messages to cloned port.
15 PASS testEvent.data is 'testme' 15 PASS testEvent.data is 'testme'
16 PASS testEvent.ports is not null 16 PASS testEvent.ports is not null
17 PASS testEvent.ports.length is 1 17 PASS testEvent.ports.length is 1
18 PASS testEvent.data is 'closed' 18 PASS testEvent.data is 'closed'
19 PASS successfullyParsed is true 19 PASS successfullyParsed is true
20 20
21 TEST COMPLETE 21 TEST COMPLETE
22 22
OLDNEW
« no previous file with comments | « LayoutTests/fast/events/message-port-clone.html ('k') | LayoutTests/fast/files/workers/worker-read-blob-sync-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698