summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/396618-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/crashtests/396618-1.html')
-rw-r--r--dom/svg/crashtests/396618-1.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/dom/svg/crashtests/396618-1.html b/dom/svg/crashtests/396618-1.html
new file mode 100644
index 000000000..72c63a0f0
--- /dev/null
+++ b/dom/svg/crashtests/396618-1.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+<script>
+function boom()
+{
+ var svgText = document.createElementNS("http://www.w3.org/2000/svg", "text");
+ svgText.setAttribute("dx", "foo");
+ svgText.removeAttribute("dx");
+}
+</script>
+</head>
+<body onload="boom();">
+</body>
+</html>