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

Unified Diff: third_party/WebKit/LayoutTests/fast/mediastream/constructors.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/mediastream/constructors.html
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/constructors.html b/third_party/WebKit/LayoutTests/fast/mediastream/constructors.html
index a12199628621245e81bd932a47cb7fe3ab1ccf25..185759a2743d2614992b66e12c910f0d33a5ef27 100644
--- a/third_party/WebKit/LayoutTests/fast/mediastream/constructors.html
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/constructors.html
@@ -9,15 +9,15 @@
<script>
description("Tests the JSEP PeerConnection related constructors.");
-shouldBeTrue("typeof webkitRTCPeerConnection === 'function'");
+shouldBeTrue("typeof RTCPeerConnection === 'function'");
shouldBeTrue("typeof RTCSessionDescription === 'function'");
shouldBeTrue("typeof RTCIceCandidate === 'function'");
-shouldThrow("webkitRTCPeerConnection()");
+shouldThrow("RTCPeerConnection()");
shouldThrow("RTCSessionDescription()");
shouldThrow("RTCIceCandidate()");
-shouldNotThrow("new webkitRTCPeerConnection({iceServers:[{url:'stun://foobar.com:12345'}]}, null);");
+shouldNotThrow("new RTCPeerConnection({iceServers:[{url:'stun://foobar.com:12345'}]}, null);");
shouldNotThrow("new RTCSessionDescription({type:'offer',sdp:'foobar'});");
shouldNotThrow("new RTCIceCandidate({candidate:'foo'});");

Powered by Google App Engine
This is Rietveld 408576698