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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt

Issue 2451763002: Require username and credential for turn/turns (Closed)
Patch Set: Created 4 years, 1 month 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
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS RTCPeerConnection.length 2 PASS RTCPeerConnection.length
3 PASS new RTCPeerConnection() 3 PASS new RTCPeerConnection()
4 PASS new RTCPeerConnection(null) 4 PASS new RTCPeerConnection(null)
5 PASS new RTCPeerConnection(undefined) 5 PASS new RTCPeerConnection(undefined)
6 PASS new RTCPeerConnection({}) 6 PASS new RTCPeerConnection({})
7 PASS new RTCPeerConnection({ iceServers: null }) 7 PASS new RTCPeerConnection({ iceServers: null })
8 PASS new RTCPeerConnection({ iceServers: undefined }) 8 PASS new RTCPeerConnection({ iceServers: undefined })
9 PASS new RTCPeerConnection({ iceServers: [] }) 9 PASS new RTCPeerConnection({ iceServers: [] })
10 PASS new RTCPeerConnection({ iceServers: [{}] }) 10 PASS new RTCPeerConnection({ iceServers: [{}] })
11 PASS new RTCPeerConnection({ iceServers: [null] }) 11 PASS new RTCPeerConnection({ iceServers: [null] })
12 PASS new RTCPeerConnection({ iceServers: [undefined] }) 12 PASS new RTCPeerConnection({ iceServers: [undefined] })
13 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net" }] }) 13 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net" }] })
14 PASS new RTCPeerConnection({ iceServers: [{ urls: [] }] }) 14 PASS new RTCPeerConnection({ iceServers: [{ urls: [] }] })
15 PASS new RTCPeerConnection({ iceServers: [{ urls: ["stun:stun1.example.net"] }] }) 15 PASS new RTCPeerConnection({ iceServers: [{ urls: ["stun:stun1.example.net"] }] })
16 PASS new RTCPeerConnection({ iceServers: [{ urls: ["stun:stun1.example.net", "st un:stun2.example.net"] }] }) 16 PASS new RTCPeerConnection({ iceServers: [{ urls: ["stun:stun1.example.net", "st un:stun2.example.net"] }] })
17 PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", user name: "user", credential: "cred" }] }) 17 PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", user name: "user", credential: "cred" }] })
18 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", usern ame: "user", credential: "cred" }] }) 18 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", usern ame: "user", credential: "cred" }] })
19 PASS new RTCPeerConnection({ iceServers: [{ urls: ["turns:turn.example.org", "tu rn:turn.example.net"], username: "user", credential: "cred" }] }) 19 PASS new RTCPeerConnection({ iceServers: [{ urls: ["turns:turn.example.org", "tu rn:turn.example.net"], username: "user", credential: "cred" }] })
20 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", cred entialType: "password" }] }) 20 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", cred entialType: "password" }] })
21 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", cred entialType: "token" }] }) 21 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", cred entialType: "token" }] })
22 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net" }] }) assert_throws: function "function () { 22 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net" }] })
23 eval(expr); 23 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", usern ame: "user" }] })
24 }" did not throw 24 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", crede ntial: "cred" }] })
25 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", usern ame: "user" }] }) assert_throws: function "function () { 25 PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org" }] })
26 eval(expr); 26 PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", user name: "user" }] })
27 }" did not throw 27 PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", cred ential: "cred" }] })
28 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", crede ntial: "cred" }] }) assert_throws: function "function () {
29 eval(expr);
30 }" did not throw
31 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org" }] }) assert_throws: function "function () {
32 eval(expr);
33 }" did not throw
34 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", user name: "user" }] }) assert_throws: function "function () {
35 eval(expr);
36 }" did not throw
37 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", cred ential: "cred" }] }) assert_throws: function "function () {
38 eval(expr);
39 }" did not throw
40 PASS new RTCPeerConnection({ iceServers: [{ urls: "relative-url" }] }) 28 PASS new RTCPeerConnection({ iceServers: [{ urls: "relative-url" }] })
41 PASS new RTCPeerConnection({ iceServers: [{ urls: "http://example.com" }] }) 29 PASS new RTCPeerConnection({ iceServers: [{ urls: "http://example.com" }] })
42 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "password" }] }) 30 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "password" }] })
43 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "token" }] }) 31 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "token" }] })
44 FAIL new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "invalid" }] }) assert_throws: function "function () { 32 FAIL new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "invalid" }] }) assert_throws: function "function () {
45 eval(expr); 33 eval(expr);
46 }" did not throw 34 }" did not throw
47 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] }) assert_throws: function "function () { 35 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] }) assert_throws: function "function () {
48 eval(expr); 36 eval(expr);
49 }" did not throw 37 }" did not throw
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 PASS remoteDescription initial value 75 PASS remoteDescription initial value
88 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined 76 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined
89 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined 77 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined
90 PASS signalingState initial value 78 PASS signalingState initial value
91 PASS iceGatheringState initial value 79 PASS iceGatheringState initial value
92 PASS iceConnectionState initial value 80 PASS iceConnectionState initial value
93 FAIL connectionState initial value assert_equals: expected (string) "new" but go t (undefined) undefined 81 FAIL connectionState initial value assert_equals: expected (string) "new" but go t (undefined) undefined
94 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null but got (undefined) undefined 82 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null but got (undefined) undefined
95 Harness: the test ran to completion. 83 Harness: the test ran to completion.
96 84
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698