| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 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"/> | |
| 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.'/> | |
| 8 </head> | |
| 9 <body> | |
| 10 <h1 class="instructions">Description</h1> | |
| 11 <p class="instructions">This test checks for the presence of the | |
| 12 <code>navigator.getUserMedia</code> method, taking vendor prefixes into account.
</p> | |
| 13 <div id='log'></div> | |
| 14 <script src=/resources/testharness.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> | |
| 17 <script> | |
| 18 test(function () { | |
| 19 assert_true(undefined !== navigator.getUserMedia, "navigator.getUserMe
dia exists"); | |
| 20 }, "getUserMedia() is present on navigator"); | |
| 21 </script> | |
| 22 </body> | |
| 23 </html> | |
| OLD | NEW |