| <!doctype html> |
| <html> |
| <head> |
| <title>getUserMedia: Non-Interactive test for mediaDevices APIs</title> |
| <link rel="author" title="Dr Alex Gouaillard" href="mailto:agouaillard@gmail.com"/> |
| <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#mediadevices"> |
| <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#mediadevices-interface-extensions"> |
| <meta name='assert' content='Check the mediaDevices APIs.'/> |
| </head> |
| <body> |
| <h1 class="instructions">Description</h1> |
| <p class="instructions">This test checks for the presence of the |
| <code>navigator.mediaDevices.getUserMedia</code> method.</p> |
| <div id='log'></div> |
| <script src=/resources/testharness.js></script> |
| <script src=/resources/testharnessreport.js></script> |
| <script src=/resources/WebIDLParser.js></script> |
| <script src=/resources/idlharness.js></script> |
| <script> |
| 'use strict'; |
| |
| idl_test( |
| ['mediacapture-main'], |
| ['dom', 'html'], |
| idl_array => { |
| idl_array.add_objects({ |
| "Navigator": ["navigator"], |
| "MediaDevices": ["navigator.mediaDevices"], |
| }); |
| } |
| ); |
| </script> |
| </body> |
| </html> |