| 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", {reliable:true}); did not throw excepti
on. | 10 PASS dc = pc.createDataChannel("label3", {ordered:true}); did not throw exceptio
n. |
| 11 PASS dc.reliable is true | 11 PASS dc.reliable is true |
| 12 PASS dc = pc.createDataChannel("label3", {reliable:false}); did not throw except
ion. | 12 PASS dc = pc.createDataChannel("label3", {ordered:false}); did not throw excepti
on. |
| 13 PASS dc.reliable is false |
| 14 PASS dc = pc.createDataChannel("label3", {maxRetransmits:0}); did not throw exce
ption. |
| 15 PASS dc.reliable is false |
| 16 PASS dc = pc.createDataChannel("label3", {maxRetransmitTime:0}); did not throw e
xception. |
| 13 PASS dc.reliable is false | 17 PASS dc.reliable is false |
| 14 PASS pc is connected | 18 PASS pc is connected |
| 15 PASS dc = pc.createDataChannel("label"); did not throw exception. | 19 PASS dc = pc.createDataChannel("label"); did not throw exception. |
| 16 PASS dc.readyState is 'connecting' | 20 PASS dc.readyState is 'connecting' |
| 17 PASS pc_ondatachannel was called | 21 PASS pc_ondatachannel was called |
| 18 PASS dc_onopen was called | 22 PASS dc_onopen was called |
| 19 PASS dc.readyState is 'open' | 23 PASS dc.readyState is 'open' |
| 20 PASS dc.label is 'label' | 24 PASS dc.label is 'label' |
| 21 PASS dc.send('xyzzy'); did not throw exception. | 25 PASS dc.send('xyzzy'); did not throw exception. |
| 22 PASS dc_onmessage_string was called | 26 PASS dc_onmessage_string was called |
| 23 PASS data is 'xyzzy' | 27 PASS data is 'xyzzy' |
| 24 PASS dc.send(buffer); did not throw exception. | 28 PASS dc.send(buffer); did not throw exception. |
| 25 PASS dc_onmessage_arraybuffer was called | 29 PASS dc_onmessage_arraybuffer was called |
| 26 PASS data.byteLength is 2 | 30 PASS data.byteLength is 2 |
| 27 PASS array[0] is 17 | 31 PASS array[0] is 17 |
| 28 PASS array[1] is 19 | 32 PASS array[1] is 19 |
| 29 PASS dc.send(array); did not throw exception. | 33 PASS dc.send(array); did not throw exception. |
| 30 PASS dc_onmessage_arraybufferview was called | 34 PASS dc_onmessage_arraybufferview was called |
| 31 PASS data.byteLength is 2 | 35 PASS data.byteLength is 2 |
| 32 PASS array[0] is 11 | 36 PASS array[0] is 11 |
| 33 PASS array[1] is 13 | 37 PASS array[1] is 13 |
| 34 PASS dc_onclose was called | 38 PASS dc_onclose was called |
| 35 PASS dc.readyState is 'closed' | 39 PASS dc.readyState is 'closed' |
| 36 PASS successfullyParsed is true | 40 PASS successfullyParsed is true |
| 37 | 41 |
| 38 TEST COMPLETE | 42 TEST COMPLETE |
| 39 | 43 |
| OLD | NEW |