3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS dc = pc.createDataChannel("label1"); did not throw exception.
7 PASS dc.reliable is true
8 PASS dc = pc.createDataChannel("label2", {}); did not throw exception.
9 PASS dc.reliable is true
10 PASS dc = pc.createDataChannel("label3", {ordered:true}); did not throw exception.
11 PASS dc.reliable is true
12 PASS dc = pc.createDataChannel("label3", {ordered:false}); did not throw exception.
13 PASS dc.reliable is false
14 PASS dc = pc.createDataChannel("label3", {maxRetransmits:0}); did not throw exception.
15 PASS dc.reliable is false
16 PASS dc = pc.createDataChannel("label3", {maxRetransmitTime:0}); did not throw exception.
17 PASS dc.reliable is false
19 PASS dc = pc.createDataChannel("label"); did not throw exception.
20 PASS dc.readyState is 'connecting'
21 PASS pc_ondatachannel was called
22 PASS dc_onopen was called
23 PASS dc.readyState is 'open'
24 PASS dc.label is 'label'
25 PASS dc.send('xyzzy'); did not throw exception.
26 PASS dc_onmessage_string was called
28 PASS dc.send(buffer); did not throw exception.
29 PASS dc_onmessage_arraybuffer was called
30 PASS data.byteLength is 2
33 PASS data.byteLength is 12
34 PASS dc.send(shrunkView); did not throw exception.
35 PASS dc_onmessage_dataview was called
36 PASS data.byteLength is 10
39 PASS dc_onclose was called
40 PASS dc.readyState is 'closed'
41 PASS successfullyParsed is true