summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/682058.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dom/html/crashtests/682058.xhtml11
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/html/crashtests/682058.xhtml b/dom/html/crashtests/682058.xhtml
new file mode 100644
index 0000000000..95e7da98fc
--- /dev/null
+++ b/dom/html/crashtests/682058.xhtml
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <body onload="test()">
+ <script>
+ function test() {
+ document.body.innerHTML = "Foobar";
+ }
+ document.addEventListener("DOMNodeRemoved", function() {});
+ </script>
+ </body>
+</html>