summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/386794-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/crashtests/386794-1.html')
-rw-r--r--dom/base/crashtests/386794-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/base/crashtests/386794-1.html b/dom/base/crashtests/386794-1.html
new file mode 100644
index 0000000000..4b50221688
--- /dev/null
+++ b/dom/base/crashtests/386794-1.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script>
+
+function boom()
+{
+ var weirdScript = document.createElementNS('http://example.com/foo', 'script');
+ document.body.appendChild(weirdScript);
+ document.body.innerHTML;
+}
+
+</script>
+</head>
+<body onload="boom()">
+</body>
+</html>