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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt
index ff0932da4cd4f0af7dc3a01bfb0f79804ceb99de..36e81dddafa87d18663734deadb791592deca391 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt
+++ b/third_party/WebKit/LayoutTests/imported/wpt/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt
@@ -21,24 +21,12 @@ PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", usern
PASS new RTCPeerConnection({ iceServers: [{ urls: ["turns:turn.example.org", "turn:turn.example.net"], username: "user", credential: "cred" }] })
PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", credentialType: "password" }] })
PASS new RTCPeerConnection({ iceServers: [{ urls: "stun:stun1.example.net", credentialType: "token" }] })
-FAIL new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net" }] }) assert_throws: function "function () {
- eval(expr);
- }" did not throw
-FAIL new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", username: "user" }] }) assert_throws: function "function () {
- eval(expr);
- }" did not throw
-FAIL new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", credential: "cred" }] }) assert_throws: function "function () {
- eval(expr);
- }" did not throw
-FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org" }] }) assert_throws: function "function () {
- eval(expr);
- }" did not throw
-FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", username: "user" }] }) assert_throws: function "function () {
- eval(expr);
- }" did not throw
-FAIL new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", credential: "cred" }] }) assert_throws: function "function () {
- eval(expr);
- }" did not throw
+PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net" }] })
+PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", username: "user" }] })
+PASS new RTCPeerConnection({ iceServers: [{ urls: "turn:turn.example.net", credential: "cred" }] })
+PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org" }] })
+PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", username: "user" }] })
+PASS new RTCPeerConnection({ iceServers: [{ urls: "turns:turn.example.org", credential: "cred" }] })
PASS new RTCPeerConnection({ iceServers: [{ urls: "relative-url" }] })
PASS new RTCPeerConnection({ iceServers: [{ urls: "http://example.com" }] })
PASS new RTCPeerConnection({ iceServers: [{ urls: [], credentialType: "password" }] })

Powered by Google App Engine
This is Rietveld 408576698