summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/1281745.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/1281745.html')
-rw-r--r--dom/base/crashtests/1281745.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/dom/base/crashtests/1281745.html b/dom/base/crashtests/1281745.html
new file mode 100644
index 0000000000..dd1d4a5799
--- /dev/null
+++ b/dom/base/crashtests/1281745.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<!--
+user_pref("dom.webcomponents.enabled", true);
+-->
+<script>
+
+function boom() {
+ var x = document.createElementNS("http://www.mozilla.org/xbl", "children");
+ x.appendChild(document.createTextNode("t"));
+ document.body.attachShadow({ mode: "open" }).appendChild(x);
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>