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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-remoteDescription.html

Issue 1480953002: Drop [LegacyInterfaceTypeChecking] where trivial in WebRTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update tests Created 5 years 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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Tests RTCPeerConnection remoteDescription."); 8 description("Tests RTCPeerConnection remoteDescription.");
9 9
10 var pc = null; 10 var pc = null;
(...skipping 25 matching lines...) Expand all
36 36
37 function requestSucceeded1() 37 function requestSucceeded1()
38 { 38 {
39 testPassed('requestSucceeded was called.'); 39 testPassed('requestSucceeded was called.');
40 40
41 sessionDescription = new RTCSessionDescription({type:"offer", sdp:"local"}); 41 sessionDescription = new RTCSessionDescription({type:"offer", sdp:"local"});
42 shouldNotThrow('pc.setRemoteDescription(sessionDescription, requestSucceeded 2, requestFailed2);'); 42 shouldNotThrow('pc.setRemoteDescription(sessionDescription, requestSucceeded 2, requestFailed2);');
43 } 43 }
44 44
45 pc = new webkitRTCPeerConnection(null, null); 45 pc = new webkitRTCPeerConnection(null, null);
46 shouldThrow('pc.setRemoteDescription(null)');
46 var sessionDescription = new RTCSessionDescription({type:"answer", sdp:"remote"} ); 47 var sessionDescription = new RTCSessionDescription({type:"answer", sdp:"remote"} );
47 shouldNotThrow('pc.setRemoteDescription(sessionDescription, requestSucceeded1, r equestFailed1);'); 48 shouldNotThrow('pc.setRemoteDescription(sessionDescription, requestSucceeded1, r equestFailed1);');
48 49
49 50
50 window.jsTestIsAsync = true; 51 window.jsTestIsAsync = true;
51 window.successfullyParsed = true; 52 window.successfullyParsed = true;
52 </script> 53 </script>
53 </body> 54 </body>
54 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698