summaryrefslogtreecommitdiffstats
path: root/layout/svg/tests/svg_example_script.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/svg/tests/svg_example_script.svg7
1 files changed, 7 insertions, 0 deletions
diff --git a/layout/svg/tests/svg_example_script.svg b/layout/svg/tests/svg_example_script.svg
new file mode 100644
index 0000000000..5eab758f92
--- /dev/null
+++ b/layout/svg/tests/svg_example_script.svg
@@ -0,0 +1,7 @@
+<svg version="1.1">
+ <script>
+ document.documentElement.style.backgroundColor = 'rebeccapurple';
+ throw "badment, should never fire.";
+ </script>
+ <g><circle cx="25.8" cy="9.3" r="1.5"/></g>
+</svg>