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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webrtc/RTCPeerConnection-createDataChannel-expected.txt

Issue 2501163002: RTCPeerConnection: match createDataChannel signature in spec (Closed)
Patch Set: expand id tests Created 3 years, 7 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 This is a testharness.js-based test.
2 PASS createDataChannel required arguments
3 PASS createDataChannel with closed connection
4 FAIL createDataChannel defaults assert_equals: maxPacketLifeTime expected (objec t) null but got (undefined) undefined
5 PASS createDataChannel with label "foo"
6 PASS createDataChannel with label null
7 PASS createDataChannel with label undefined
8 PASS createDataChannel with label lone surrogate
9 PASS createDataChannel with ordered false
10 PASS createDataChannel with ordered null/undefined
11 FAIL createDataChannel with maxPacketLifeTime 0 assert_equals: expected (number) 0 but got (undefined) undefined
12 PASS createDataChannel with maxRetransmits 0
13 FAIL createDataChannel with both maxPacketLifeTime and maxRetransmits assert_thr ows: function "() => pc.createDataChannel('', {
14 maxPacketLifeTime: 0,
15 maxRetransmits: 0
16 })" did not throw
17 PASS createDataChannel with protocol "foo"
18 PASS createDataChannel with protocol null
19 PASS createDataChannel with protocol undefined
20 PASS createDataChannel with protocol lone surrogate
21 PASS createDataChannel with negotiated true
22 PASS createDataChannel with id -1
23 PASS createDataChannel with id 0
24 PASS createDataChannel with id 1
25 PASS createDataChannel with id 65534
26 FAIL createDataChannel with id 65535 assert_throws: function "() => pc.createDat aChannel('', { id: id })" did not throw
27 PASS createDataChannel with id 65536
28 FAIL createDataChannel with priority "high" assert_equals: expected (string) "hi gh" but got (undefined) undefined
29 Harness: the test ran to completion.
30
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698