summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/768344.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/crashtests/768344.html')
-rw-r--r--dom/html/crashtests/768344.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/dom/html/crashtests/768344.html b/dom/html/crashtests/768344.html
new file mode 100644
index 0000000000..4830e6674d
--- /dev/null
+++ b/dom/html/crashtests/768344.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+ function f() {
+ document.removeEventListener("DOMSubtreeModified", f, true);
+ document.documentElement.setAttributeNS(null, "contenteditable", "false");
+ }
+
+ document.addEventListener("DOMSubtreeModified", f, true);
+
+ document.documentElement.contentEditable = "true";
+}
+
+</script>
+</head>
+
+<body onload="boom();"></body>
+</html>