Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / mediastream / RTCPeerConnection-state.html
blob0235b40d020c0173013ddb8a4aa23c49de672465
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("Tests the RTCPeerConnection states.");
10 var pc = null;
12 function stateChanged()
14 testPassed("stateChanged was called");
15 shouldBeEqualToString('pc.signalingState', 'closed');
16 finishJSTest();
19 shouldNotThrow('pc = new webkitRTCPeerConnection({iceServers:[]}, null);');
20 shouldBeEqualToString('pc.signalingState', 'stable');
21 pc.onsignalingstatechange = stateChanged;
22 pc.close();
24 window.jsTestIsAsync = true;
25 window.successfullyParsed = true;
26 </script>
27 </body>
28 </html>