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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/promises-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 data only, and thus does not require fake media devices. 3 This test uses data only, 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 Data-Only Connection Test with Promises</title> 9 <title>RTCPeerConnection Data-Only Connection Test with Promises</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 only data using pro mises.'); 21 var test = async_test('Can set up a basic WebRTC call with only data using pro mises.');
22 22
23 var gFirstConnection = null; 23 var gFirstConnection = null;
24 var gSecondConnection = null; 24 var gSecondConnection = null;
25 25
26 var onIceCandidateToFirst = test.step_func(function(event) { 26 var onIceCandidateToFirst = test.step_func(function(event) {
27 // If event.candidate is null = no more candidates. 27 // If event.candidate is null = no more candidates.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 }) 112 })
113 .catch(test.step_func(function(e) { 113 .catch(test.step_func(function(e) {
114 assert_unreached('Error ' + e.name + ': ' + e.message + 114 assert_unreached('Error ' + e.name + ': ' + e.message +
115 ' happened at step ' + atStep); 115 ' happened at step ' + atStep);
116 })); 116 }));
117 }); 117 });
118 </script> 118 </script>
119 119
120 </body> 120 </body>
121 </html> 121 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698