OLD | NEW |
1 Tests RTCDataChannel. | 1 Tests RTCDataChannel. |
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 dc = pc.createDataChannel("label1"); did not throw exception. | 6 PASS dc = pc.createDataChannel("label1"); did not throw exception. |
7 PASS dc.reliable is true | 7 PASS dc.reliable is true |
8 PASS dc = pc.createDataChannel("label2", {}); did not throw exception. | 8 PASS dc = pc.createDataChannel("label2", {}); did not throw exception. |
9 PASS dc.reliable is true | 9 PASS dc.reliable is true |
10 PASS dc = pc.createDataChannel("label3", {ordered:true}); did not throw exceptio
n. | 10 PASS dc = pc.createDataChannel("label3", {ordered:true}); did not throw exceptio
n. |
(...skipping 18 matching lines...) Expand all Loading... |
29 PASS dc_onmessage_arraybuffer was called | 29 PASS dc_onmessage_arraybuffer was called |
30 PASS data.byteLength is 2 | 30 PASS data.byteLength is 2 |
31 PASS array[0] is 17 | 31 PASS array[0] is 17 |
32 PASS array[1] is 19 | 32 PASS array[1] is 19 |
33 PASS data.byteLength is 12 | 33 PASS data.byteLength is 12 |
34 PASS dc.send(shrunkView); did not throw exception. | 34 PASS dc.send(shrunkView); did not throw exception. |
35 PASS dc_onmessage_dataview was called | 35 PASS dc_onmessage_dataview was called |
36 PASS data.byteLength is 10 | 36 PASS data.byteLength is 10 |
37 PASS array[0] is 1 | 37 PASS array[0] is 1 |
38 PASS array[9] is 10 | 38 PASS array[9] is 10 |
| 39 PASS dc.send(new Uint8Array(new SharedArrayBuffer(16))); threw exception TypeErr
or: Failed to execute 'send' on 'RTCDataChannel': The provided ArrayBufferView v
alue must not be shared.. |
39 PASS dc_onclose was called | 40 PASS dc_onclose was called |
40 PASS dc.readyState is 'closed' | 41 PASS dc.readyState is 'closed' |
41 PASS successfullyParsed is true | 42 PASS successfullyParsed is true |
42 | 43 |
43 TEST COMPLETE | 44 TEST COMPLETE |
44 | 45 |
OLD | NEW |