summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/593302-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/593302-2.html')
-rw-r--r--dom/base/crashtests/593302-2.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/dom/base/crashtests/593302-2.html b/dom/base/crashtests/593302-2.html
new file mode 100644
index 000000000..60e77d488
--- /dev/null
+++ b/dom/base/crashtests/593302-2.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <!-- This test should not leak. -->
+ <iframe src="data:text/html,
+ <script>
+ var elem = document.createElement('span');
+ document.mozSetImageElement('foo', elem);
+ elem.foo = document;
+ </script>"></iframe>
+ </body>
+</html>