diff options
Diffstat (limited to 'dom/xul/templates/tests/chrome/test_bug329335.xul')
-rw-r--r-- | dom/xul/templates/tests/chrome/test_bug329335.xul | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dom/xul/templates/tests/chrome/test_bug329335.xul b/dom/xul/templates/tests/chrome/test_bug329335.xul new file mode 100644 index 000000000..75190c17b --- /dev/null +++ b/dom/xul/templates/tests/chrome/test_bug329335.xul @@ -0,0 +1,28 @@ +<?xml version="1.0"?> +<?xml-stylesheet href="chrome://global/skin" type="text/css"?> +<?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?> + +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:svg="http://www.w3.org/2000/svg"> + + <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/> + <script> + + SimpleTest.waitForExplicitFinish(); + + function init() + { + document.documentElement.appendChild(document.getElementById("svg")); + ok(true, "Didn't crash"); + SimpleTest.finish(); + } + + window.addEventListener("load", init, false); + + </script> + + + <svg:svg datasources="" id="svg"/> + + +</window> |