diff options
Diffstat (limited to '')
-rw-r--r-- | dom/media/tests/crashtests/1573536.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dom/media/tests/crashtests/1573536.html b/dom/media/tests/crashtests/1573536.html new file mode 100644 index 0000000000..1283183254 --- /dev/null +++ b/dom/media/tests/crashtests/1573536.html @@ -0,0 +1,18 @@ +<html class="reftest-wait"> +<head> + <script> + function start () { + window.navigator.mediaDevices.getUserMedia({ + 'audio': { + 'mediaSource': 'audioCapture' + }, + 'video': true, + 'fake': true + }).catch(() => Promise.resolve()) + .then(() => document.documentElement.removeAttribute("class")) + } + + window.addEventListener('load', start) + </script> +</head> +</html> |