| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>getUserMedia() triggers error callback when auth is denied</title> | 4 <title>getUserMedia() triggers error callback when auth is denied</title> |
| 5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> | 5 <link rel="author" title="Dominique Hazael-Massieux" href="mailto:dom@w3.org"/> |
| 6 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
error-names"> | 6 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
error-names"> |
| 7 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
idl-def-MediaStreamError"> | 7 <link rel="help" href="http://w3c.github.io/mediacapture-main/getusermedia.html#
idl-def-MediaStreamError"> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 <p class="instructions">When prompted, <strong>please deny</strong> access to | 10 <p class="instructions">When prompted, <strong>please deny</strong> access to |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 t.step_func(function (error) { | 29 t.step_func(function (error) { |
| 30 assert_equals(error.name, "securityError", "securityError returned"); | 30 assert_equals(error.name, "securityError", "securityError returned"); |
| 31 assert_equals(error.constraintName, undefined, "constraintName attribute n
ot set for permission denied"); | 31 assert_equals(error.constraintName, undefined, "constraintName attribute n
ot set for permission denied"); |
| 32 t.done(); | 32 t.done(); |
| 33 }) | 33 }) |
| 34 ); | 34 ); |
| 35 }); | 35 }); |
| 36 </script> | 36 </script> |
| 37 </body> | 37 </body> |
| 38 </html> | 38 </html> |
| OLD | NEW |