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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/peerconnection/RTCPeerConnection-stats.html

Issue 2446173002: Use RTCPeerConnection instead of webkitRTCPeerConnection (Closed)
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
1 1
2 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 2 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
3 <html> 3 <html>
4 <head> 4 <head>
5 <script src="../../resources/js-test.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 description("Tests the RTCPeerConnection stats interface."); 9 description("Tests the RTCPeerConnection stats interface.");
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 shouldNotThrow('pc.getStats(statsHandler4, 42)'); 82 shouldNotThrow('pc.getStats(statsHandler4, 42)');
83 } 83 }
84 84
85 function statsHandler4(status) { 85 function statsHandler4(status) {
86 testPassed("statsHandler4 was called"); 86 testPassed("statsHandler4 was called");
87 verifyStats(status); 87 verifyStats(status);
88 finishJSTest(); 88 finishJSTest();
89 } 89 }
90 90
91 var startTime = new Date().getTime(); 91 var startTime = new Date().getTime();
92 shouldNotThrow('pc = new webkitRTCPeerConnection(null)'); 92 shouldNotThrow('pc = new RTCPeerConnection()');
93 shouldNotThrow('pc.getStats(statsHandler1)'); 93 shouldNotThrow('pc.getStats(statsHandler1)');
94 94
95 window.jsTestIsAsync = true; 95 window.jsTestIsAsync = true;
96 window.successfullyParsed = true; 96 window.successfullyParsed = true;
97 </script> 97 </script>
98 </body> 98 </body>
99 </html> 99 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698