summaryrefslogtreecommitdiffstats
path: root/dom/svg/crashtests/372046-2.svg
diff options
context:
space:
mode:
Diffstat (limited to 'dom/svg/crashtests/372046-2.svg')
-rw-r--r--dom/svg/crashtests/372046-2.svg17
1 files changed, 17 insertions, 0 deletions
diff --git a/dom/svg/crashtests/372046-2.svg b/dom/svg/crashtests/372046-2.svg
new file mode 100644
index 000000000..e18660c24
--- /dev/null
+++ b/dom/svg/crashtests/372046-2.svg
@@ -0,0 +1,17 @@
+<svg xmlns="http://www.w3.org/2000/svg" onload="setTimeout(boom, 30);" class="reftest-wait">
+
+<script>
+function boom()
+{
+ try {
+ document.getElementById("path_1").pathSegList.insertItemBefore({}, 0);
+ } catch(e) {
+ }
+
+ document.documentElement.removeAttribute("class");
+}
+</script>
+
+<path id='path_1' d='M300,25 C500,100 575,300 330,350'/>
+
+</svg>