Add crashtests for a few bugs

This commit is contained in:
Jesse Ruderman 2009-12-06 17:53:38 -08:00
parent 5eb28e1789
commit b4b916d596
13 changed files with 96 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<html>
<BODY></BODY>
<SCRIPT>
document.addEventListener("DOMCharacterDataModified",function(){
document.body.innerHTML=""; // change this to see memory corruption
},true);
document.body.innerHTML="<optGroup</form<textArea";
</SCRIPT>
</html>

View File

@ -0,0 +1,11 @@
<html>
<BODY></BODY>
<SCRIPT>
document.body.addEventListener("DOMCharacterDataModified", function () {
document.body.innerHTML = "";
eventChild.appendChild(event.relatedNode);
}, true);
document.addEventListener("DOMNodeInserted", function () {}, true);
document.body.innerHTML="]<kbd><small></kbd><base><optGroup></optGroup>";
</SCRIPT>
</html>

View File

@ -48,6 +48,8 @@ load 420620-1.html
load 424276-1.html
load 426987-1.html
load 443538-1.svg
load 450383-1.html
load 450385-1.html
skip load 458637-1.html # sporadically fails -- see bug 473680
load 472593-1.html
load 474041-1.svg

View File

@ -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>

View File

@ -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>

View File

@ -1,3 +1,4 @@
load 257752-1-recursion.xul
load 329335-1.xul
load 329884-1.xul
HTTP load 330010-1.xul

View File

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html>
<head></head>
<body>
<table style="border-collapse: collapse;"><colgroup style="border: 20px solid green;"></colgroup> <tr><td style="height: 43925290cm"></td></tr><tr></tr></table>
</body>
</html>

View File

@ -98,3 +98,4 @@ load 456041.html
load 457115.html
load 467141-1.html
load 488388-1.html
load 513732-1.html

View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<toolbar>
<arrowscrollbox>
<menulist editable="true">
</menulist>
</arrowscrollbox>
</toolbar>
</window>

View File

@ -3,6 +3,7 @@ load 137216-1.xul
load 140218-1.xml
load 151826-1.xul
load 168724-1.xul
load 237787-1.xul
load 289410-1.xul
load 291702-1.xul
load 291702-2.xul

View File

@ -0,0 +1,12 @@
<html>
<head>
</head>
<body>
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<!-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
<script language="javascript">
window.location.replace("data:text/plain,");
</script>
</body>
</html>

View File

@ -0,0 +1 @@
<iframe src="515533-1-inner.html"></iframe>

View File

@ -36,5 +36,6 @@ load 423373-1.html
skip load 460706-1.xhtml # Bug 479499
load 468538-1.xhtml
load 515278-1.html
load 515533-1.html
load 515816-1.html
load 522326-1.html