| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <!-- | 2 <!-- |
| 3 To quickly iterate when developing this test, use --use-fake-ui-for-media-stream | 3 To quickly iterate when developing this test, use --use-fake-ui-for-media-stream |
| 4 for Chrome and set the media.navigator.permission.disabled property to true in | 4 for Chrome and set the media.navigator.permission.disabled property to true in |
| 5 Firefox. You must either have a webcam/mic available on the system or use for | 5 Firefox. You must either have a webcam/mic available on the system or use for |
| 6 instance --use-fake-device-for-media-stream for Chrome. | 6 instance --use-fake-device-for-media-stream for Chrome. |
| 7 --> | 7 --> |
| 8 | 8 |
| 9 <html> | 9 <html> |
| 10 <head> | 10 <head> |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 // This function starts the test. | 109 // This function starts the test. |
| 110 test.step(function() { | 110 test.step(function() { |
| 111 navigator.getUserMedia({ video: true, audio: true }, | 111 navigator.getUserMedia({ video: true, audio: true }, |
| 112 getUserMediaOkCallback, | 112 getUserMediaOkCallback, |
| 113 failed('getUserMedia')); | 113 failed('getUserMedia')); |
| 114 }); | 114 }); |
| 115 </script> | 115 </script> |
| 116 | 116 |
| 117 </body> | 117 </body> |
| 118 </html> | 118 </html> |
| OLD | NEW |