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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/no-media-call.html

Issue 2020943002: update-w3c-deps: Do not modify testharness tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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> 1 <!doctype html>
2 <!-- 2 <!--
3 This test uses the legacy callback API with no media, and thus does not require fake media devices. 3 This test uses the legacy callback API with no media, and thus does not require fake media devices.
4 --> 4 -->
5 5
6 <html> 6 <html>
7 <head> 7 <head>
8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 8 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
9 <title>RTCPeerConnection No-Media Connection Test</title> 9 <title>RTCPeerConnection No-Media Connection Test</title>
10 </head> 10 </head>
11 <body> 11 <body>
12 <div id="log"></div> 12 <div id="log"></div>
13 <h2>iceConnectionState info</h2> 13 <h2>iceConnectionState info</h2>
14 <div id="stateinfo"> 14 <div id="stateinfo">
15 </div> 15 </div>
16 16
17 <!-- These files are in place when executing on W3C. --> 17 <!-- These files are in place when executing on W3C. -->
18 <script src="/resources/testharness.js"></script> 18 <script src="/resources/testharness.js"></script>
19 <script src="/resources/testharnessreport.js"></script> 19 <script src="/resources/testharnessreport.js"></script>
20 <script type="text/javascript"> 20 <script type="text/javascript">
21 var test = async_test('Can set up a basic WebRTC call with no data.'); 21 var test = async_test('Can set up a basic WebRTC call with no data.');
22 22
23 var gFirstConnection = null; 23 var gFirstConnection = null;
24 var gSecondConnection = null; 24 var gSecondConnection = null;
25 25
26 var onOfferCreated = test.step_func(function(offer) { 26 var onOfferCreated = test.step_func(function(offer) {
27 gFirstConnection.setLocalDescription(offer, ignoreSuccess, 27 gFirstConnection.setLocalDescription(offer, ignoreSuccess,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 // The offerToReceiveVideo is necessary and sufficient to make 131 // The offerToReceiveVideo is necessary and sufficient to make
132 // an actual connection. 132 // an actual connection.
133 gFirstConnection.createOffer(onOfferCreated, failed('createOffer'), 133 gFirstConnection.createOffer(onOfferCreated, failed('createOffer'),
134 {offerToReceiveVideo: true}); 134 {offerToReceiveVideo: true});
135 }); 135 });
136 </script> 136 </script>
137 137
138 </body> 138 </body>
139 </html> 139 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698