content/xul/content/crashtests/236853.xul
author David Mandelin <dmandelin@mozilla.com>
Mon, 09 Aug 2010 18:29:34 -0700
changeset 53358 688ca6c81137c6972b5a7f172394c7b4d332e93d
parent 24982 b0337b6287f3517114bf78243c78b429e68894c4
permissions -rw-r--r--
[JAEGER] Bug 585801 trial fix: innerize object passed as scope chain for JS evaluation

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<window
	xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
	xmlns:svg="http://www.w3.org/2000/svg">
	<vbox flex="1">
		<svg:svg datasources="236853.rdf" ref="urn:root"> 
			<template>
				<rule>
					<conditions>
						<content uri="?root"/>
						<triple	subject="?root"
								predicate="http://www.ex.org/ex-rdf#nodes"
								object="?nodes"/>
						<member container="?nodes" child="?node"/>
					</conditions>
					<action>
						<!-- The line below causes Mozilla to crash -->
						<svg:text uri="?node" x="64" y="64">Text</svg:text>
					</action>
				</rule>
			</template>
			<!--<svg:text x="64" y="64">Text</svg:text>-->
		</svg:svg>
	</vbox>
</window>