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

Side by Side Diff: LayoutTests/fast/mediastream/constructors.html

Issue 49063011: Delete js-test-style.css. js-test-pre.js injects the CSS it needs now. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
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 <link rel="stylesheet" href="../js/resources/js-test-style.css">
5 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
6 </head> 5 </head>
7 <body> 6 <body>
8 <p id="description"></p> 7 <p id="description"></p>
9 <div id="console"></div> 8 <div id="console"></div>
10 <script> 9 <script>
11 description("Tests the JSEP PeerConnection related constructors."); 10 description("Tests the JSEP PeerConnection related constructors.");
12 11
13 shouldBeTrue("typeof webkitRTCPeerConnection === 'function'"); 12 shouldBeTrue("typeof webkitRTCPeerConnection === 'function'");
14 shouldBeTrue("typeof RTCSessionDescription === 'function'"); 13 shouldBeTrue("typeof RTCSessionDescription === 'function'");
15 shouldBeTrue("typeof RTCIceCandidate === 'function'"); 14 shouldBeTrue("typeof RTCIceCandidate === 'function'");
16 15
17 shouldThrow("webkitRTCPeerConnection()"); 16 shouldThrow("webkitRTCPeerConnection()");
18 shouldThrow("RTCSessionDescription()"); 17 shouldThrow("RTCSessionDescription()");
19 shouldThrow("RTCIceCandidate()"); 18 shouldThrow("RTCIceCandidate()");
20 19
21 shouldNotThrow("new webkitRTCPeerConnection({iceServers:[{url:'stun://foobar.com :12345'}]}, null);"); 20 shouldNotThrow("new webkitRTCPeerConnection({iceServers:[{url:'stun://foobar.com :12345'}]}, null);");
22 shouldNotThrow("new RTCSessionDescription({type:'offer',sdp:'foobar'});"); 21 shouldNotThrow("new RTCSessionDescription({type:'offer',sdp:'foobar'});");
23 shouldNotThrow("new RTCIceCandidate({candidate:'foo'});"); 22 shouldNotThrow("new RTCIceCandidate({candidate:'foo'});");
24 23
25 window.jsTestIsAsync = false; 24 window.jsTestIsAsync = false;
26 </script> 25 </script>
27 </body> 26 </body>
28 </html> 27 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/mediastream/RTCSessionDescription.html ('k') | LayoutTests/fast/mediastream/getusermedia.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698