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

Unified Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-lifetime.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-lifetime.html
diff --git a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-lifetime.html b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-lifetime.html
index 7991384ffa2d53790831a0661c588aee61010bae..7565bf796d6f53e7da36d25a2bd134233b46f62c 100644
--- a/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-lifetime.html
+++ b/third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-lifetime.html
@@ -25,7 +25,7 @@ function dataChannelOpen()
function createPeerConnectionAndDataChannel()
{
// The Peer Connection object is leaked
- var pc = new webkitRTCPeerConnection({iceServers:[]}, null);
+ var pc = new RTCPeerConnection();
dc = pc.createDataChannel("label");
dc.onopen = dataChannelOpen;
}
@@ -34,7 +34,7 @@ var pcB = null;
var observationB = null;
// Test that the PeerConnection object is gc'd if close is called.
-var pcA = new webkitRTCPeerConnection(null, null);
+var pcA = new RTCPeerConnection();
// Do not pass the object directly to observeGC function. This may
// remain live on this function's stack preventing GC from collecting
// it. Accessing the object inside an inner function will prevent any
@@ -47,7 +47,7 @@ asyncGC(function() {
observationA = null;
// Test that the PeerConnection object is not gc'd if close is not called.
- pcB = new webkitRTCPeerConnection(null, null);
+ pcB = new RTCPeerConnection();
// Do not pass the object directly to observeGC function. This may
// remain live on this function's stack preventing GC from collecting
// it. Accessing the object inside an inner function will prevent any

Powered by Google App Engine
This is Rietveld 408576698