4 <title>getUserMedia: test that getUserMedia is present
</title>
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#navigatorusermedia">
7 <meta name='assert' content='Check that the getUserMedia() method is present.'
/>
10 <h1 class=
"instructions">Description
</h1>
11 <p class=
"instructions">This test checks for the presence of the
12 <code>navigator.mediaDevices.getUserMedia
</code> method.
</p>
14 <script src=/resources/testharness.js
></script>
15 <script src=/resources/testharnessreport.js
></script>
18 assert_true(undefined !== navigator
.mediaDevices
&& undefined !== navigator
.mediaDevices
.getUserMedia
, "navigator.mediaDevices.getUserMedia exists");
19 }, "mediaDevices.getUserMedia() is present on navigator");