| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>enumerateDevices: test that enumerateDevices is present</title> | 4 <title>enumerateDevices: test that enumerateDevices is present</title> |
| 5 <link rel="author" title="Dr Alex Gouaillard" href="mailto:agouaillard@gmail.com
"/> | 5 <link rel="author" title="Dr Alex Gouaillard" href="mailto:agouaillard@gmail.com
"/> |
| 6 <link rel="help" href="https://w3c.github.io/mediacapture-main/#enumerating-devi
ces"> | 6 <link rel="help" href="https://w3c.github.io/mediacapture-main/#enumerating-devi
ces"> |
| 7 <meta name='assert' content='Check that the enumerateDevices() method is present
.'/> | 7 <meta name='assert' content='Check that the enumerateDevices() method is present
.'/> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <h1 class="instructions">Description</h1> | 10 <h1 class="instructions">Description</h1> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 } | 38 } |
| 39 } | 39 } |
| 40 }) | 40 }) |
| 41 p.catch(function(err){ | 41 p.catch(function(err){ |
| 42 assert_unreached("A call to enumerateDevices() should never fail."); | 42 assert_unreached("A call to enumerateDevices() should never fail."); |
| 43 }); | 43 }); |
| 44 }, "mediaDevices.enumerateDevices() is present and working on navigator"); | 44 }, "mediaDevices.enumerateDevices() is present and working on navigator"); |
| 45 </script> | 45 </script> |
| 46 </body> | 46 </body> |
| 47 </html> | 47 </html> |
| OLD | NEW |