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

Unified Diff: content/test/data/media/peerconnection-call.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
« no previous file with comments | « content/test/data/media/mediarecorder_test.html ('k') | ppapi/examples/video_effects/video_effects.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/media/peerconnection-call.html
diff --git a/content/test/data/media/peerconnection-call.html b/content/test/data/media/peerconnection-call.html
index c592ab2c9b708191a6dc1eca825e8c4d217bd047..781b86968836ab3fb4b5f6762670dfa6d945267c 100644
--- a/content/test/data/media/peerconnection-call.html
+++ b/content/test/data/media/peerconnection-call.html
@@ -518,7 +518,7 @@
}
function callWithDevicePermissionGranted() {
- var pc = new webkitRTCPeerConnection(null, null);
+ var pc = new RTCPeerConnection();
gatherIceCandidates(pc, function(candidates) {
var hasLoopbackCandidate = false;
assertEquals(candidates.length > 0, true);
@@ -534,7 +534,7 @@
}
function callWithNoCandidateExpected() {
- var pc = new webkitRTCPeerConnection({iceServers:[]}, null);
+ var pc = new RTCPeerConnection();
gatherIceCandidates(pc, function(candidates) {
assertEquals(candidates.length, 0);
reportTestSuccess();
@@ -542,7 +542,7 @@
}
function callAndExpectNonLoopbackCandidates() {
- var pc = new webkitRTCPeerConnection(null, null);
+ var pc = new RTCPeerConnection();
gatherIceCandidates(pc, function(candidates) {
var hasCandidate = false;
assertEquals(candidates.length > 0, true);
« no previous file with comments | « content/test/data/media/mediarecorder_test.html ('k') | ppapi/examples/video_effects/video_effects.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698