summaryrefslogtreecommitdiffstats
path: root/dom/html/crashtests/571428-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/crashtests/571428-1.html')
-rw-r--r--dom/html/crashtests/571428-1.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/html/crashtests/571428-1.html b/dom/html/crashtests/571428-1.html
new file mode 100644
index 0000000000..ae2b960cac
--- /dev/null
+++ b/dom/html/crashtests/571428-1.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+function boom()
+{
+ var i = document.getElementById("i");
+ i.setAttribute("type", "button");
+ i.removeAttribute("type");
+}
+</script>
+</head>
+<body onload="boom();"><input id="i"></body>
+</html>