diff options
Diffstat (limited to 'dom/xul/templates/crashtests')
-rw-r--r-- | dom/xul/templates/crashtests/257752-1-recursion.rdf | 13 | ||||
-rw-r--r-- | dom/xul/templates/crashtests/257752-1-recursion.xul | 28 | ||||
-rw-r--r-- | dom/xul/templates/crashtests/329884-1.xul | 20 | ||||
-rw-r--r-- | dom/xul/templates/crashtests/330012-1.rdf | 13 | ||||
-rw-r--r-- | dom/xul/templates/crashtests/330012-1.xul | 22 | ||||
-rw-r--r-- | dom/xul/templates/crashtests/404346-1.xul | 7 | ||||
-rw-r--r-- | dom/xul/templates/crashtests/415019-1.xul | 14 | ||||
-rw-r--r-- | dom/xul/templates/crashtests/417840-1.xul | 1 | ||||
-rw-r--r-- | dom/xul/templates/crashtests/424418-1.xul | 1 | ||||
-rw-r--r-- | dom/xul/templates/crashtests/crashtests.list | 7 |
10 files changed, 126 insertions, 0 deletions
diff --git a/dom/xul/templates/crashtests/257752-1-recursion.rdf b/dom/xul/templates/crashtests/257752-1-recursion.rdf new file mode 100644 index 000000000..a6eeb104b --- /dev/null +++ b/dom/xul/templates/crashtests/257752-1-recursion.rdf @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:m="urn:foo#"> + <rdf:Seq about="urn:x-rec:1"> + <rdf:li rdf:resource="urn:x-rec:2"/> + </rdf:Seq> + <rdf:Seq about="urn:x-rec:2"> + <rdf:li rdf:resource="urn:x-rec:3"/> + </rdf:Seq> + <rdf:Seq about="urn:x-rec:3"> + <rdf:li rdf:resource="urn:x-rec:1"/> + </rdf:Seq> +</rdf:RDF> diff --git a/dom/xul/templates/crashtests/257752-1-recursion.xul b/dom/xul/templates/crashtests/257752-1-recursion.xul new file mode 100644 index 000000000..fad5abfb6 --- /dev/null +++ b/dom/xul/templates/crashtests/257752-1-recursion.xul @@ -0,0 +1,28 @@ +<?xml version="1.0"?> + +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> + +<window id="child-iterate-recurse" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + +<vbox flex="1" style="overflow: auto;"> + +<vbox datasources="257752-1-recursion.rdf" ref="urn:x-rec:1"> + <template> + <rule> + <conditions> + <content uri="?uri"/> + <member container="?uri" child="?child"/> + </conditions> + <action> + <vbox uri="?child" style="border: 1px solid grey; margin: 1em;"> + <label value="hi"/> + </vbox> + </action> + </rule> + </template> +</vbox> + +</vbox> + +</window> diff --git a/dom/xul/templates/crashtests/329884-1.xul b/dom/xul/templates/crashtests/329884-1.xul new file mode 100644 index 000000000..8cc486e27 --- /dev/null +++ b/dom/xul/templates/crashtests/329884-1.xul @@ -0,0 +1,20 @@ +<?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"> + +<script> + +function rM(q1) { q1.parentNode.removeChild(q1); } + +function init2() +{ + rM(document.getElementById("t")); +} + +window.addEventListener("load", init2, false); + +</script> + +<foo id="t" datasources="1.rdf" /> + +</window> diff --git a/dom/xul/templates/crashtests/330012-1.rdf b/dom/xul/templates/crashtests/330012-1.rdf new file mode 100644 index 000000000..4bda7316a --- /dev/null +++ b/dom/xul/templates/crashtests/330012-1.rdf @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:s="urn:squarefree:a1:"> + <rdf:Description about="urn:root"> + <s:grapes> + <rdf:Bag> + <rdf:li> + <rdf:Description/> + </rdf:li> + </rdf:Bag> + </s:grapes> + </rdf:Description> +</rdf:RDF> diff --git a/dom/xul/templates/crashtests/330012-1.xul b/dom/xul/templates/crashtests/330012-1.xul new file mode 100644 index 000000000..ea797c2cf --- /dev/null +++ b/dom/xul/templates/crashtests/330012-1.xul @@ -0,0 +1,22 @@ +<?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"> + + <foo id="foo" datasources="330012-1.rdf" ref="urn:root"> + <template> + <rule> + <conditions> + <content uri="?root"/> + <triple subject="?root" + predicate="urn:squarefree:a1:grapes" + object="?lalala"/> + <member container="?grapes" child="?grape"/> + </conditions> + <action> + <bar uri="?grape"/> + </action> + </rule> + </template> + </foo> + +</window> diff --git a/dom/xul/templates/crashtests/404346-1.xul b/dom/xul/templates/crashtests/404346-1.xul new file mode 100644 index 000000000..e947960da --- /dev/null +++ b/dom/xul/templates/crashtests/404346-1.xul @@ -0,0 +1,7 @@ +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> +<box id="b"> +<box id="a" template="b"/> +<triple/> +</box> +<box datasources="" observes="a" ref="bbb"/> +</window>
\ No newline at end of file diff --git a/dom/xul/templates/crashtests/415019-1.xul b/dom/xul/templates/crashtests/415019-1.xul new file mode 100644 index 000000000..9fb9560f6 --- /dev/null +++ b/dom/xul/templates/crashtests/415019-1.xul @@ -0,0 +1,14 @@ +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> + <hbox datasources="nosuch.rdf" ref="urn:root"> + <template> + <rule> + <conditions> + <triple subject="?a"/> + </conditions> + <action> + <vbox uri="?b"/> + </action> + </rule> + </template> + </hbox> +</window> diff --git a/dom/xul/templates/crashtests/417840-1.xul b/dom/xul/templates/crashtests/417840-1.xul new file mode 100644 index 000000000..e41af81e9 --- /dev/null +++ b/dom/xul/templates/crashtests/417840-1.xul @@ -0,0 +1 @@ +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="document.getElementById('foo').removeAttribute('ref');"><foo id="foo" datasources="nosuch.rdf" ref="urn:root"><template/></foo></window> diff --git a/dom/xul/templates/crashtests/424418-1.xul b/dom/xul/templates/crashtests/424418-1.xul new file mode 100644 index 000000000..d8565643a --- /dev/null +++ b/dom/xul/templates/crashtests/424418-1.xul @@ -0,0 +1 @@ +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><hbox datasources="u"/></window> diff --git a/dom/xul/templates/crashtests/crashtests.list b/dom/xul/templates/crashtests/crashtests.list new file mode 100644 index 000000000..ed99a3ae8 --- /dev/null +++ b/dom/xul/templates/crashtests/crashtests.list @@ -0,0 +1,7 @@ +load 257752-1-recursion.xul +load 329884-1.xul +skip-if(winWidget) load 330012-1.xul # bug 742455 +load 404346-1.xul +load 415019-1.xul +load 417840-1.xul +load 424418-1.xul |