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

Side by Side Diff: LayoutTests/fast/mediastream/RTCPeerConnection-datachannel-expected.txt

Issue 650063002: Move MediaStream and MediaStreamTrack implementation from modules/mediastream to core/mediastream. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. Created 6 years, 2 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
OLDNEW
(Empty)
1 Tests RTCDataChannel.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
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 exceptio n.
11 PASS dc.reliable is true
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.
17 PASS dc.reliable is false
18 PASS pc is connected
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
27 PASS data is 'xyzzy'
28 PASS dc.send(buffer); did not throw exception.
29 PASS dc_onmessage_arraybuffer was called
30 PASS data.byteLength is 2
31 PASS array[0] is 17
32 PASS array[1] is 19
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
37 PASS array[0] is 1
38 PASS array[9] is 10
39 PASS dc_onclose was called
40 PASS dc.readyState is 'closed'
41 PASS successfullyParsed is true
42
43 TEST COMPLETE
44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698