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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/datachannel-emptystring.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 creates a data channel between two local PeerConnection instances 3 This test creates a data channel between two local PeerConnection instances
4 and ensures that an empty string sent by one is received by the second. 4 and ensures that an empty string sent by one is received by the second.
5 --> 5 -->
6 6
7 <html> 7 <html>
8 <head> 8 <head>
9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
10 <title>RTCPeerConnection Data Channel Empty String Test</title> 10 <title>RTCPeerConnection Data Channel Empty String Test</title>
11 </head> 11 </head>
12 <body> 12 <body>
13 <div id="log"></div> 13 <div id="log"></div>
14 <h2>Messages exchanged</h2> 14 <h2>Messages exchanged</h2>
15 <div id="msg"></div> 15 <div id="msg"></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 send empty strings across a WebRTC data channel.'); 21 var test = async_test('Can send empty strings across a WebRTC data channel.');
22 22
23 var gFirstConnection = null; 23 var gFirstConnection = null;
24 var gSecondConnection = null; 24 var gSecondConnection = null;
25 var sendChannel = null; 25 var sendChannel = null;
26 var receiveChannel = null; 26 var receiveChannel = null;
27 27
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 .then(exchangeDescription(gFirstConnection, gSecondConnection)) 99 .then(exchangeDescription(gFirstConnection, gSecondConnection))
100 .catch(test.step_func(function(e) { 100 .catch(test.step_func(function(e) {
101 assert_unreached('Error ' + e.name + ': ' + e.message); 101 assert_unreached('Error ' + e.name + ': ' + e.message);
102 })); 102 }));
103 }); 103 });
104 </script> 104 </script>
105 105
106 </body> 106 </body>
107 </html> 107 </html>
108 108
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698