| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <script src="../../resources/js-test.js"></script> | 3 <script src="../../resources/js-test.js"></script> |
| 4 <body> | 4 <body> |
| 5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
| 6 description("Test MediaStream API permission denied callbacks in WebView")
; | 6 description("Test MediaStream API permission denied callbacks in WebView")
; |
| 7 window.jsTestIsAsync = true; | 7 window.jsTestIsAsync = true; |
| 8 | 8 |
| 9 function error(e) { | 9 function error(e) { |
| 10 testPassed('getUserMedia error callback, reason: ' + e.name); | 10 testPassed('getUserMedia error callback, reason: ' + e.name); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 } catch (e) { | 22 } catch (e) { |
| 23 testFailed('webkitGetUserMedia threw exception :' + e); | 23 testFailed('webkitGetUserMedia threw exception :' + e); |
| 24 finishJSTest(); | 24 finishJSTest(); |
| 25 } | 25 } |
| 26 } | 26 } |
| 27 | 27 |
| 28 getUserMedia({audio:true, video:true}, gotStream); | 28 getUserMedia({audio:true, video:true}, gotStream); |
| 29 </script> | 29 </script> |
| 30 </body> | 30 </body> |
| 31 </html> | 31 </html> |
| OLD | NEW |