| Index: content/test/data/media/getusermedia_and_stop.html
|
| diff --git a/content/test/data/media/getusermedia_and_stop.html b/content/test/data/media/getusermedia_and_stop.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f1c43bef012ea30a1bfd607e34e4b080ea8b2e17
|
| --- /dev/null
|
| +++ b/content/test/data/media/getusermedia_and_stop.html
|
| @@ -0,0 +1,18 @@
|
| +<html>
|
| +<head>
|
| + <script type="text/javascript">
|
| + function getUserMedia(constraints) {
|
| + navigator.webkitGetUserMedia(constraints, okCallback, failedCallback);
|
| + }
|
| +
|
| + function failedCallback(error) {
|
| + document.title = 'GetUserMedia call failed with code ' + error.code;
|
| + }
|
| +
|
| + function okCallback(stream) {
|
| + stream.stop();
|
| + document.title = 'OK';
|
| + }
|
| + </script>
|
| +</head>
|
| +</html>
|
|
|