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

Unified Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html

Issue 2446173002: Use RTCPeerConnection instead of webkitRTCPeerConnection (Closed)
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html
index 87ed1c7a2417deb59682cbc8b0855aef661c020f..21e7dc602725f9fc3b1d8748114e6c073499a167 100644
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-datachannel.html
@@ -88,7 +88,7 @@ function pc_onicechange() {
}
}
-pc = new webkitRTCPeerConnection(null, null);
+pc = new RTCPeerConnection();
shouldNotThrow('dc = pc.createDataChannel("label1");');
shouldBe("dc.reliable", "true");
shouldNotThrow('dc = pc.createDataChannel("label2", {});');
@@ -102,7 +102,7 @@ shouldBe("dc.reliable", "false");
shouldNotThrow('dc = pc.createDataChannel("label3", {maxRetransmitTime:0});');
shouldBe("dc.reliable", "false");
-pc = new webkitRTCPeerConnection(null, null);
+pc = new RTCPeerConnection();
pc.oniceconnectionstatechange = pc_onicechange;
pc.ondatachannel = pc_ondatachannel;

Powered by Google App Engine
This is Rietveld 408576698