Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / user-media-request-crash.html
blob000f5309c60fcc6467265b3285f625ea8d60c9bd
1 <html>
2 <head>
3 <meta http-equiv="refresh" content="2"/>
5 <script>
6 function error() {
9 function getUserMedia(dictionary, callback) {
10 try {
11 navigator.webkitGetUserMedia(dictionary, callback, error);
12 } catch (e) {
16 function gotStream1(s) {
19 function start() {
20 getUserMedia({audio:true}, gotStream1);
22 </script>
24 </head>
25 <body onload="start()">
26 <h1>Test passes if it does not crash.</h1>
27 </body>
28 </html>