summaryrefslogtreecommitdiffstats
path: root/dom/media/tests/crashtests/1429507_1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/media/tests/crashtests/1429507_1.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/dom/media/tests/crashtests/1429507_1.html b/dom/media/tests/crashtests/1429507_1.html
new file mode 100644
index 0000000000..894abf911a
--- /dev/null
+++ b/dom/media/tests/crashtests/1429507_1.html
@@ -0,0 +1,13 @@
+<html>
+ <body>
+ <script>
+ try { o1 = window.open("") } catch (e) {}
+ try { o1.location.reload() } catch (e) {}
+ try { o2 = new RTCPeerConnection({iceServers: [{"url": "stun:d"}]}) } catch (e) {}
+ try { o1.navigator.mediaDevices.getUserMedia({video: true, fake: true}).catch((error) => {}) } catch (e) {}
+ try { o2.createOffer({offerToReceiveVideo: true}).then((offer) => {
+ try { o1.navigator.mediaDevices.getUserMedia({video: true}) } catch (e) {};
+ }) } catch (e) {}
+ </script>
+ </body>
+</html>