summaryrefslogtreecommitdiff
path: root/dom/base/crashtests/1157995.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/1157995.html')
-rw-r--r--dom/base/crashtests/1157995.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/base/crashtests/1157995.html b/dom/base/crashtests/1157995.html
new file mode 100644
index 000000000..5d822c0a6
--- /dev/null
+++ b/dom/base/crashtests/1157995.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<body>
+ <script>
+ // This should not leak.
+ var a = navigator;
+ navigator.mediaDevices._ = null;
+ </script>
+</body>