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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/webrtc/simplecall.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 To quickly iterate when developing this test, use --use-fake-ui-for-media-stream 3 To quickly iterate when developing this test, use --use-fake-ui-for-media-stream
4 for Chrome and set the media.navigator.permission.disabled property to true in 4 for Chrome and set the media.navigator.permission.disabled property to true in
5 Firefox. You must either have a webcam/mic available on the system or use for 5 Firefox. You must either have a webcam/mic available on the system or use for
6 instance --use-fake-device-for-media-stream for Chrome. 6 instance --use-fake-device-for-media-stream for Chrome.
7 --> 7 -->
8 8
9 <html> 9 <html>
10 <head> 10 <head>
11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 11 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
12 <title>RTCPeerConnection Connection Test</title> 12 <title>RTCPeerConnection Connection Test</title>
13 </head> 13 </head>
14 <body> 14 <body>
15 <div id="log"></div> 15 <div id="log"></div>
16 <div> 16 <div>
17 <video id="local-view" autoplay="autoplay"></video> 17 <video id="local-view" autoplay="autoplay"></video>
18 <video id="remote-view" autoplay="autoplay"/> 18 <video id="remote-view" autoplay="autoplay"/>
19 </video> 19 </video>
20 </div> 20 </div>
21 21
22 <!-- These files are in place when executing on W3C. --> 22 <!-- These files are in place when executing on W3C. -->
23 <script src="/resources/testharness.js"></script> 23 <script src="/resources/testharness.js"></script>
24 <script src="/resources/testharnessreport.js"></script> 24 <script src="/resources/testharnessreport.js"></script>
25 <script src="/common/vendor-prefix.js" 25 <script src="/common/vendor-prefix.js"
26 data-prefixed-objects= 26 data-prefixed-objects=
27 '[{"ancestors":["navigator"], "name":"getUserMedia"}]' 27 '[{"ancestors":["navigator"], "name":"getUserMedia"}]'
28 data-prefixed-prototypes= 28 data-prefixed-prototypes=
29 '[{"ancestors":["HTMLMediaElement"],"name":"srcObject"}]'> 29 '[{"ancestors":["HTMLMediaElement"],"name":"srcObject"}]'>
30 </script> 30 </script>
31 <script type="text/javascript"> 31 <script type="text/javascript">
32 var test = async_test('Can set up a basic WebRTC call.', {timeout: 5000}); 32 var test = async_test('Can set up a basic WebRTC call.', {timeout: 5000});
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // This function starts the test. 109 // This function starts the test.
110 test.step(function() { 110 test.step(function() {
111 navigator.getUserMedia({ video: true, audio: true }, 111 navigator.getUserMedia({ video: true, audio: true },
112 getUserMediaOkCallback, 112 getUserMediaOkCallback,
113 failed('getUserMedia')); 113 failed('getUserMedia'));
114 }); 114 });
115 </script> 115 </script>
116 116
117 </body> 117 </body>
118 </html> 118 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698