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

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: restore non-throwing test 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", user name: "", credential: "" }] }) 19 PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", user name: "", credential: "" }] })
20 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", usern ame: "", credential: "" }] }) 20 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", usern ame: "", credential: "" }] })
21 PASS new RTCPeerConnection({ iceServers: [{ urls: ["turns:turn.example.org", "tu rn:turn.example.net"], username: "user", credential: "cred" }] }) 21 PASS new RTCPeerConnection({ iceServers: [{ urls: ["turns:turn.example.org", "tu rn:turn.example.net"], username: "user", credential: "cred" }] })
22 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", cred entialType: "password" }] }) 22 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", cred entialType: "password" }] })
23 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", cred entialType: "token" }] }) 23 PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", cred entialType: "token" }] })
24 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net" }] }) assert_throws: function "function () { 24 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net" }] })
25 eval(expr); 25 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", usern ame: "user" }] })
26 }" did not throw 26 PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", crede ntial: "cred" }] })
27 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", usern ame: "user" }] }) assert_throws: function "function () { 27 PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org" }] })
28 eval(expr); 28 PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", user name: "user" }] })
29 }" did not throw 29 PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", cred ential: "cred" }] })
30 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", crede ntial: "cred" }] }) assert_throws: function "function () {
31 eval(expr);
32 }" did not throw
33 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org" }] }) assert_throws: function "function () {
34 eval(expr);
35 }" did not throw
36 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", user name: "user" }] }) assert_throws: function "function () {
37 eval(expr);
38 }" did not throw
39 FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", cred ential: "cred" }] }) assert_throws: function "function () {
40 eval(expr);
41 }" did not throw
42 PASS new RTCPeerConnection({ iceServers: [{ urls: "relative-url" }] }) 30 PASS new RTCPeerConnection({ iceServers: [{ urls: "relative-url" }] })
43 PASS new RTCPeerConnection({ iceServers: [{ urls: "http://example.com" }] }) 31 PASS new RTCPeerConnection({ iceServers: [{ urls: "http://example.com" }] })
44 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "password" }] }) 32 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "password" }] })
45 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "token" }] }) 33 PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "token" }] })
46 FAIL new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "invalid" }] }) assert_throws: function "function () { 34 FAIL new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "invalid" }] }) assert_throws: function "function () {
47 eval(expr); 35 eval(expr);
48 }" did not throw 36 }" did not throw
49 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] }) assert_throws: function "function () { 37 FAIL new RTCPeerConnection({ iceServers: [{ url: "stun:stun1.example.net" }] }) assert_throws: function "function () {
50 eval(expr); 38 eval(expr);
51 }" did not throw 39 }" did not throw
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 PASS remoteDescription initial value 77 PASS remoteDescription initial value
90 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined 78 FAIL currentRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined
91 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined 79 FAIL pendingRemoteDescription initial value assert_equals: expected (object) nul l but got (undefined) undefined
92 PASS signalingState initial value 80 PASS signalingState initial value
93 PASS iceGatheringState initial value 81 PASS iceGatheringState initial value
94 PASS iceConnectionState initial value 82 PASS iceConnectionState initial value
95 FAIL connectionState initial value assert_equals: expected (string) "new" but go t (undefined) undefined 83 FAIL connectionState initial value assert_equals: expected (string) "new" but go t (undefined) undefined
96 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null but got (undefined) undefined 84 FAIL canTrickleIceCandidates initial value assert_equals: expected (object) null but got (undefined) undefined
97 Harness: the test ran to completion. 85 Harness: the test ran to completion.
98 86
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698