test_bug236853.xul 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
  3. <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
  4. <window
  5. xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  6. xmlns:svg="http://www.w3.org/2000/svg">
  7. <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
  8. <script type="application/javascript">
  9. <![CDATA[
  10. SimpleTest.waitForExplicitFinish();
  11. window.onload = function() {
  12. ok(true, "Didn't crash");
  13. SimpleTest.finish();
  14. }
  15. ]]>
  16. </script>
  17. <vbox flex="1">
  18. <svg:svg datasources="file_bug236853.rdf" ref="urn:root">
  19. <template>
  20. <rule>
  21. <conditions>
  22. <content uri="?root"/>
  23. <triple subject="?root"
  24. predicate="http://www.ex.org/ex-rdf#nodes"
  25. object="?nodes"/>
  26. <member container="?nodes" child="?node"/>
  27. </conditions>
  28. <action>
  29. <!-- The line below causes Mozilla to crash -->
  30. <svg:text uri="?node" x="64" y="64">Text</svg:text>
  31. </action>
  32. </rule>
  33. </template>
  34. <!--<svg:text x="64" y="64">Text</svg:text>-->
  35. </svg:svg>
  36. </vbox>
  37. </window>