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

Side by Side Diff: LayoutTests/fast/rtcpeerconnection/RTCPeerConnection-state.html

Issue 650063002: Move MediaStream and MediaStreamTrack implementation from modules/mediastream to core/mediastream. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. Created 6 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 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 the RTCPeerConnection states."); 8 description("Tests the RTCPeerConnection states.");
9 9
10 var pc = null; 10 var pc = null;
11 11
12 function stateChanged() 12 function stateChanged()
13 { 13 {
14 testPassed("stateChanged was called"); 14 testPassed("stateChanged was called");
15 shouldBeEqualToString('pc.signalingState', 'closed'); 15 shouldBeEqualToString('pc.signalingState', 'closed');
16 finishJSTest(); 16 finishJSTest();
17 } 17 }
18 18
19 shouldNotThrow('pc = new webkitRTCPeerConnection({iceServers:[]}, null);'); 19 shouldNotThrow('pc = new webkitRTCPeerConnection({iceServers:[]}, null);');
20 shouldBeEqualToString('pc.signalingState', 'stable'); 20 shouldBeEqualToString('pc.signalingState', 'stable');
21 pc.onsignalingstatechange = stateChanged; 21 pc.onsignalingstatechange = stateChanged;
22 pc.close(); 22 pc.close();
23 23
24 window.jsTestIsAsync = true; 24 window.jsTestIsAsync = true;
25 window.successfullyParsed = true; 25 window.successfullyParsed = true;
26 </script> 26 </script>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698