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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/mediacapture-streams/GUM-api.https.html

Issue 2086283003: Update web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into wpt_import Created 4 years, 5 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 <html> 2 <html>
3 <head> 3 <head>
4 <title>getUserMedia: test that getUserMedia is present (with or without vendor p refix)</title> 4 <title>getUserMedia: test that getUserMedia is present (with or without vendor p refix)</title>
5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> 5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/>
6 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#na vigatorusermedia"> 6 <link rel="help" href="http://dev.w3.org/2011/webrtc/editor/getusermedia.html#na vigatorusermedia">
7 <meta name='assert' content='Check that the getUserMedia() method is present.'/> 7 <meta name='assert' content='Check that the getUserMedia() method is present.'/>
8 </head> 8 </head>
9 <body> 9 <body>
10 <h1 class="instructions">Description</h1> 10 <h1 class="instructions">Description</h1>
11 <p class="instructions">This test checks for the presence of the 11 <p class="instructions">This test checks for the presence of the
12 <code>navigator.getUserMedia</code> method, taking vendor prefixes into account. </p> 12 <code>navigator.getUserMedia</code> method, taking vendor prefixes into account. </p>
13 <div id='log'></div> 13 <div id='log'></div>
14 <script src=/resources/testharness.js></script> 14 <script src=/resources/testharness.js></script>
15 <script src=/resources/testharnessreport.js></script> 15 <script src=/resources/testharnessreport.js></script>
16 <script src="/common/vendor-prefix.js" data-prefixed-objects='[{"ancestors":["na vigator"], "name":"getUserMedia"}]'></script> 16 <script src="/common/vendor-prefix.js" data-prefixed-objects='[{"ancestors":["na vigator"], "name":"getUserMedia"}]'></script>
17 <script> 17 <script>
18 test(function () { 18 test(function () {
19 assert_true(undefined !== navigator.getUserMedia, "navigator.getUserMe dia exists"); 19 assert_true(undefined !== navigator.getUserMedia, "navigator.getUserMe dia exists");
20 }, "getUserMedia() is present on navigator"); 20 }, "getUserMedia() is present on navigator");
21 </script> 21 </script>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698