deleted file mode 100644
--- a/layout/base/crashtests/354771-1.xul
+++ /dev/null
@@ -1,28 +0,0 @@
-<?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">
-
-<listbox flex="1" style="float: right">
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="foo"/>
- <listitem label="b" style="float: left;"/>
- <listitem label="c" style="position: absolute"/>
-</listbox>
-
-</window>
deleted file mode 100644
--- a/layout/base/crashtests/376223-1.xhtml
+++ /dev/null
@@ -1,29 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-<head>
-<script>
-
-function boom()
-{
- var listbox = document.getElementById("listbox");
- var td = document.getElementById("td");
-
- var listitem = document.createElementNS(XUL_NS, "listitem");
-
- listbox.appendChild(listitem);
- listbox.appendChild(td);
-}
-
-var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-
-</script>
-</head>
-
-<body onload="boom();">
-
-<table><tbody><tr><td id="td">X</td></tr></tbody></table>
-
-<xul:listbox id="listbox"/>
-
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/crashtests/383102-1.xhtml
+++ /dev/null
@@ -1,13 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" >
-<body>
-
-<xul:hbox>
- <xul:hbox>
- <xul:listboxbody><xul:hbox/><span><div></div></span></xul:listboxbody>
- </xul:hbox>
- <xul:toolbarbutton/>
-</xul:hbox>
-
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/crashtests/383806-1.xhtml
+++ /dev/null
@@ -1,29 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-<head>
-<script>
-
-function boom()
-{
- var listbox = document.getElementById("listbox");
- var td = document.getElementById("td");
-
- var listitem = document.createElementNS(XUL_NS, "listitem");
-
- listbox.appendChild(listitem);
- listbox.appendChild(td);
-}
-
-var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-
-</script>
-</head>
-
-<body onload="boom();">
-
-<table><tbody><tr><td id="td">X</td></tr></tbody></table>
-
-<xul:listbox id="listbox"/>
-
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/crashtests/414175-1.xul
+++ /dev/null
@@ -1,26 +0,0 @@
-<xul xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
-
-<script type="text/javascript">
-
-function boom()
-{
- var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-
- var oldListbox = document.getElementById("oldListbox");
- var listitem = document.getElementById("listitem");
- var newListbox = document.createElementNS(XUL_NS, "listbox");
- var newHbox = document.createElementNS(XUL_NS, "hbox");
-
- oldListbox.appendChild(newListbox);
- listitem.appendChild(newHbox);
-
- newListbox.style.display = "inline";
- oldListbox.style.display = "block";
- newHbox.style.display = "inline";
-}
-
-</script>
-
-<listbox id="oldListbox"><listitem id="listitem" /></listbox>
-
-</xul>
deleted file mode 100644
--- a/layout/base/crashtests/428113.xhtml
+++ /dev/null
@@ -1,2 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
-<listbox xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="float: right;"><listitem/><listitem/><listitem/><listitem/><listitem/><listitem label="foo"/><listitem style="position: absolute;"/></listbox></html>
deleted file mode 100644
--- a/layout/base/crashtests/514104-1.xul
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
-
-<!-- there must be no extra elements in the document -->
-
-<window onload="
- document.documentElement.removeChild(document.getElementById('b'));
- document.getElementById('l').removeChild(document.getElementById('h'));
- document.documentElement.appendChild(document.createElementNS('http://www.w3.org/1999/xhtml', 'span'));"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-<bindings xmlns="http://www.mozilla.org/xbl" id="b">
- <binding id="foo">
- <content><listitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><children xmlns="http://www.mozilla.org/xbl"/></listitem></content>
- </binding>
-</bindings>
-
-<listbox id="l" style="-moz-binding: url("#foo");"><hbox id="h"/></listbox>
-
-<listitem/>
-
-</window>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -111,17 +111,16 @@ load 348126-1.html
load 348688-1.html
load 348708-1.xhtml
load 348729-1.html
load 349095-1.xhtml
load 350128-1.xhtml
load 350267-1.html
load 354133-1.html
load 354766-1.xhtml
-load 354771-1.xul
load 355989-1.xhtml
load 355993-1.xhtml
load 356325-1.xul
load 358729-1.xhtml
load 360339-1.xul
load 360339-2.xul
load 363729-1.html
load 363729-2.html
@@ -144,31 +143,28 @@ load 371681-1.xhtml
load 372237-1.html
load 372475-1.xhtml
load 372550-1.html
load 373628-1.html
load 373919.xhtml
load 374193-1.xhtml
load 374297-1.html
load 374297-2.html
-load 376223-1.xhtml
load 378325-1.html
load 378682.html
load 379105-1.xhtml
load 379419-1.xhtml
load 379768-1.html
load 379799-1.html
load 379920-1.svg
load 379920-2.svg
load 379975.html
load 380096-1.html
load 382204-1.html # bug 1323680
-load 383102-1.xhtml
load 383129-1.html
-load 383806-1.xhtml
load 384344-1.html
load 384392-1.xhtml
load 384392-2.svg
load 384649-1.xhtml
load 385354.html
load 385866-1.xhtml
load 385880-1.xhtml
load 386266-1.html
@@ -223,30 +219,28 @@ load 408299.html
load 408450-1.xhtml
load 409461-1.xhtml
load 409513.html
load 410967.html
load 411870-1.html
load 412651-1.html
load 413587-1.svg
load 414058-1.html
-load 414175-1.xul
load 415503.xhtml
load 416107.xhtml # bug 1323652
HTTP load 419985.html
load 420031-1.html
load 420213-1.html
load 420219-1.html # bug 1323652
load 420651-1.xhtml
load 421203-1.xul
load 421432.html
load 422276.html
asserts(0-1) load 423107-1.xhtml # bug 866955
load 425981-1.html
-load 428113.xhtml
load 428138-1.html
load 428448-1.html
load 429088-1.html
load 429088-2.html
load 429780-1.xhtml
load 429865-1.html
load 429881.html
load 430569-1.html
@@ -322,17 +316,16 @@ load 497519-3.xhtml
load 497519-4.xhtml
load 499741-1.xhtml
load 499841-1.xhtml
load 499858-1.xhtml
load 500467-1.html
load 501878-1.html
load 503936-1.html
load 507119.html
-load 514104-1.xul
load 522374-1.html
load 522374-2.html
load 526378-1.xul
load 534367-1.xhtml
load 534368-1.xhtml
load 534768-1.html
load 534768-2.html
load 535721-1.xhtml
deleted file mode 100644
--- a/layout/generic/crashtests/363848-1.xhtml
+++ /dev/null
@@ -1,10 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-<body>
-
-<xul:listbox />
-
-</body>
-
-</html>
\ No newline at end of file
deleted file mode 100644
--- a/layout/generic/crashtests/472957.xhtml
+++ /dev/null
@@ -1,14 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-<head>
-
-<bindings xmlns="http://www.mozilla.org/xbl">
- <binding id="b">
- <content><xul:hbox><children/></xul:hbox></content>
- </binding>
-</bindings>
-
-</head>
-
-<body><xul:listboxbody height="168178912813" style="-moz-binding: url(#b);"><xul:iframe/></xul:listboxbody></body>
-
-</html>
deleted file mode 100644
--- a/layout/generic/crashtests/494300-1.xul
+++ /dev/null
@@ -1,49 +0,0 @@
-<?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" onload="boom();" class="reftest-wait">
-<script type="text/javascript">
-// <![CDATA[
-
-var HTML_NS = "http://www.w3.org/1999/xhtml";
-var MATHML_NS = "http://www.w3.org/1998/Math/MathML";
-var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-
-function boom()
-{
- var listbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listbox");
- var listitem = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listitem");
- listbox.appendChild(listitem);
- document.documentElement.appendChild(listbox);
- var hbox = document.createElementNS(XUL_NS, "hbox");
- listbox.appendChild(hbox);
- var mphantom = document.createElementNS(MATHML_NS, 'mphantom');
- listbox.appendChild(mphantom);
- var wax = document.createElementNS(MATHML_NS, 'wax');
- hbox.appendChild(wax);
- var msub = document.createElementNS(MATHML_NS, 'msub');
- wax.appendChild(msub);
- var merror = document.createElementNS(MATHML_NS, 'merror');
- wax.appendChild(merror);
- var span = document.createElementNS(HTML_NS, 'span');
- mphantom.appendChild(span);
- var vbox = document.createElementNS(XUL_NS, 'vbox');
- span.appendChild(vbox);
-
- setTimeout(boom2, 0);
-
- function boom2()
- {
- var munderover = document.createElementNS(MATHML_NS, 'munderover');
- msub.appendChild(munderover);
- var mtext = document.createElementNS(MATHML_NS, 'mtext');
- span.appendChild(mtext);
-
- document.documentElement.removeAttribute("class");
- }
-}
-
-// ]]>
-</script>
-</window>
deleted file mode 100644
--- a/layout/generic/crashtests/547338.xul
+++ /dev/null
@@ -1,27 +0,0 @@
-<?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 type="text/javascript">
-<![CDATA[
-
-function boom()
-{
- document.getElementById("list").ensureIndexIsVisible(4);
- document.getElementById("i4").style.fontSize = "10000%";
-}
-
-window.addEventListener("load", boom, false);
-
-]]>
-</script>
-
-<listbox id="list" rows="3">
- <listitem/>
- <listitem/>
- <listitem/>
- <listitem id="i4" label="Item 4"/><listitem/>
-</listbox>
-
-</window>
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -57,17 +57,16 @@ load 354458-1.html
load 354458-2.html
load 355426-1.html
load 359371-1.html
load 359371-2.html
load 360599.html
load 363448.html
load 363722-1.html
load 363722-2.html
-load 363848-1.xhtml
load 364220.html
load 364407-1.html
load 364686-1.xhtml
load 366021-1.xhtml
load 366667-1.html
load 366952-1.html
load 367246-1.html
load 367360.html
@@ -337,17 +336,16 @@ load 468771-1.xhtml
load 468771-2.xhtml
load 469859-1.xhtml # bug 1323665
load 471360.html
load 472587-1.xhtml
load 472617-1.xhtml
load 472774-1.html
load 472776-1.html
load 472950-1.html
-load 472957.xhtml
load 473278-1.xhtml
load 473894-1.html
load 476241-1.html
load 477731-1.html
load 477928.html
load 478131-1.html
load 478170-1.html
load 478185-1.html
@@ -359,17 +357,16 @@ load 489462-1.html
load 489477.html
load 489480-1.xhtml
load 489647-1.html
load 493111-1.html
load 493118-1.html
load 493649.html
load 494283-1.xhtml
load 494283-2.html
-load 494300-1.xul
load 494332-1.html
load 495875-1.html
load 495875-2.html
load 496742.html
load 499138.html
load 499857-1.html
load 499862-1.html
asserts(0-3) load 499885-1.xhtml # Bug 1220265
@@ -406,17 +403,16 @@ load 534366-2.html
load 536692-1.xhtml
load 537645.xhtml
load 541277-1.html
load 541277-2.html
load 541714-1.html
load 541714-2.html
load 542136-1.html
load 545571-1.html
-load 547338.xul
load 547843-1.xhtml
load 551635-1.html
load 553504-1.xhtml
load 564368-1.xhtml
load 564968.xhtml
load 569193-1.html
load 570160.html
load 570289-1.html
deleted file mode 100644
--- a/layout/xul/crashtests/265161-1.xul
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0"?>
-<window
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- xmlns:html="http://www.w3.org/1999/xhtml">
- <html:div>
- <listitem>
- </listitem>
- </html:div>
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/326834-1-inner.xul
+++ /dev/null
@@ -1,17 +0,0 @@
-<window title="Testcase bug 326834 - Crash with evil xul testcase, using listbox/listitem and display: table-cell"
- xmlns:html="http://www.w3.org/1999/xhtml"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-<listbox>
- <listitem label="This page should not crash Mozilla"/>
-</listbox>
-<html:script>
-function doe() {
-var el=document.getElementsByTagName('*');
-document.getElementsByTagName('listbox')[0].style.display = 'table-cell';
-document.getElementsByTagName('listitem')[0].style.display = 'table-cell';
-window.getComputedStyle(document.getElementsByTagName('listitem')[0], '').getPropertyValue("height");
-document.getElementsByTagName('listitem')[0].style.display = '';
-}
-setTimeout(doe,500);
-</html:script>
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/326834-1.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<html class="reftest-wait">
-<head>
-<script>
-setTimeout('document.documentElement.className = ""', 1000);
-</script>
-<body>
-<iframe src="326834-1-inner.xul"></iframe>
-</body>
-</html>
deleted file mode 100644
--- a/layout/xul/crashtests/360642-1.xul
+++ /dev/null
@@ -1,9 +0,0 @@
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- class="reftest-wait"
- onload="setTimeout(function() { var foo = document.getElementById('foo'); foo.parentNode.removeChild(foo); document.documentElement.removeAttribute('class'); }, 30);">
-
- <listboxbody>
- <hbox id="foo"/>
- </listboxbody>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/383236-1.xul
+++ /dev/null
@@ -1,5 +0,0 @@
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-<listbox><listhead>x</listhead></listbox>
-
-</window>
\ No newline at end of file
deleted file mode 100644
--- a/layout/xul/crashtests/384491-1.xhtml
+++ /dev/null
@@ -1,8 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-<body>
-
-<xul:listboxbody style="overflow: hidden" />
-
-</body>
-</html>
deleted file mode 100644
--- a/layout/xul/crashtests/394120-1.xhtml
+++ /dev/null
@@ -1,19 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-<head>
-<script>
-function boom()
-{
- var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
- var xultext = document.createElementNS(XUL_NS, "text");
- var hbox = document.getElementById("hbox")
- hbox.appendChild(xultext);
-}
-</script>
-</head>
-<body onload="boom();">
-
-<xul:listboxbody><xul:hbox id="hbox" /></xul:listboxbody>
-
-</body>
-</html>
deleted file mode 100644
--- a/layout/xul/crashtests/397293.xhtml
+++ /dev/null
@@ -1,21 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- style="opacity: 0.2;">
-<head>
-<script>
-
-function x()
-{
- document.documentElement.style.counterReset = "chicken";
-
- document.body.offsetHeight;
-}
-
-</script>
-</head>
-
-<body onload="setTimeout(x, 0);">Foo</body>
-
-<xul:listbox/>
-
-</html>
deleted file mode 100644
--- a/layout/xul/crashtests/397304-1.html
+++ /dev/null
@@ -1,1 +0,0 @@
-<html><body><listboxbody style="display: -moz-grid-group;"></listboxbody></body></html>
\ No newline at end of file
deleted file mode 100644
--- a/layout/xul/crashtests/398326-1.xhtml
+++ /dev/null
@@ -1,17 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<script>
-var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-
-function boom()
-{
- var listbox = document.createElementNS(XUL_NS, 'listbox');
- document.body.appendChild(listbox);
- var listitem = document.createElementNS(XUL_NS, 'listitem');
- listbox.appendChild(listitem);
-}
-</script>
-</head>
-<body onload="boom();">
-</body>
-</html>
deleted file mode 100644
--- a/layout/xul/crashtests/400779-1.xhtml
+++ /dev/null
@@ -1,16 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-<head>
-<script>
-
-function boom()
-{
- var menulist = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "menulist");
- document.getElementById("h").appendChild(menulist);
-}
-
-</script>
-</head>
-<body onload="boom();">
-<xul:listboxbody><xul:hbox id="h"/></xul:listboxbody>
-</body>
-</html>
deleted file mode 100644
--- a/layout/xul/crashtests/415394-1.xhtml
+++ /dev/null
@@ -1,28 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- class="reftest-wait">
-<head>
-<script type="text/javascript">
-
-function boom()
-{
- document.execCommand("justifycenter", false, null);
-
- var listboxbody = document.getElementById("lbb");
- listboxbody.height = 9;
- setTimeout(boom2, 0);
-
- function boom2()
- {
- var td = document.createElementNS("http://www.w3.org/1999/xhtml", "td");
- listboxbody.appendChild(td);
- document.documentElement.removeAttribute("class");
- }
-}
-
-</script>
-</head>
-
-<body onload="setTimeout(boom, 0);" contenteditable="true"><xul:listboxbody id="lbb"><xul:hbox/><span><col style="width: 100px;" /></span></xul:listboxbody></body>
-
-</html>
deleted file mode 100644
--- a/layout/xul/crashtests/420424-1.xul
+++ /dev/null
@@ -1,6 +0,0 @@
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- onload="document.getElementById('a').ensureElementIsVisible(null);">
-
-<listbox id="a"/>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/431738.xhtml
+++ /dev/null
@@ -1,7 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-<body>
-<div>
-<span style="font-size: 0pt;"><xul:listboxbody><span style="border: 1px solid red;"/></xul:listboxbody></span>
-</div>
-</body>
-</html>
deleted file mode 100644
--- a/layout/xul/crashtests/432058-1.xul
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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" onload="boom();">
-
-<script type="text/javascript">
-// <![CDATA[
-
-var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-
-function boom()
-{
- var lb = document.getElementById("lb");
- var firstli = document.getElementById("firstli");
- lb.appendChild(document.createElementNS(XUL_NS, "hbox"));
- lb.appendChild(document.createElementNS(XUL_NS, "listitem"));
- firstli.style.display = "none";
-
- // Flush layout.
- document.getBoxObjectFor(document.documentElement).height;
-
- lb.removeChild(firstli);
-}
-
-// ]]>
-</script>
-
-<listbox id="lb"><listitem id="firstli"/></listbox>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/432068-1.xul
+++ /dev/null
@@ -1,31 +0,0 @@
-<?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" onload="boom();">
-
-<hbox style="display: none;">
- <bindings xmlns="http://www.mozilla.org/xbl">
- <binding id="x">
- <content><listitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"/></content>
- </binding>
- </bindings>
-</hbox>
-
-<script type="text/javascript">
-
-function boom()
-{
- document.getElementById("b").style.MozBinding = "url('#x')";
-
- // Flush layout.
- document.documentElement.boxObject.height;
-
- document.getElementById("listbox").removeChild(document.getElementById("c"));
-}
-
-</script>
-
-<listbox id="listbox"><listitem/><listitem id="b"/><listitem id="c"/></listbox>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/432068-2.xul
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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" onload="boom();">
-
-<script type="text/javascript">
-
-function boom()
-{
- var l = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listitem");
- l.style.display = "none";
-
- var c = document.getElementById("c");
- c.parentNode.insertBefore(l, c);
-
- document.getElementById("listbox").removeChild(document.getElementById("c"));
-}
-
-</script>
-
-<listbox id="listbox"><listitem/><listitem id="c"/></listbox>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/433296-1.xul
+++ /dev/null
@@ -1,5 +0,0 @@
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-<hbox><listboxbody><listheader/><hbox><iframe/></hbox></listboxbody><tabpanels><tabpanels/></tabpanels></hbox>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/433429.xul
+++ /dev/null
@@ -1,23 +0,0 @@
-<?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" onload="boom();">
-
-<script type="text/javascript">
-
-function boom()
-{
- var listbox = document.getElementById("listbox");
-
- listbox.removeChild(listbox.childNodes[1]);
- document.documentElement.style.MozBinding = "url('data:text/xml,%3Cbindings%20xmlns%3D%22http%3A%2F%2Fwww.mozilla.org%2Fxbl%22%3E%3Cbinding%20id%3D%22foo%22%3E%3Ccontent%3E%0A%3Chbox%20xmlns%3D%22http%3A%2F%2Fwww.mozilla.org%2Fkeymaster%2Fgatekeeper%2Fthere.is.only.xul%22%2F%3E%0A%3C%2Fcontent%3E%3C%2Fbinding%3E%3C%2Fbindings%3E%0A')";
- document.documentElement.boxObject.height;
- listbox.removeChild(listbox.childNodes[0]);
-}
-
-</script>
-
-<listbox id="listbox" style="-moz-binding: url(data:text/xml,%3Cbindings%20xmlns%3D%22http%3A%2F%2Fwww.mozilla.org%2Fxbl%22%3E%3Cbinding%20id%3D%22foo%22%3E%3Ccontent%3E%0A%3Clistbox%20xmlns%3D%22http%3A%2F%2Fwww.mozilla.org%2Fkeymaster%2Fgatekeeper%2Fthere.is.only.xul%22%3E%3Cchildren%20xmlns%3D%22http%3A%2F%2Fwww.mozilla.org%2Fxbl%22%2F%3E%3C%2Flistbox%3E%0A%3C%2Fcontent%3E%3C%2Fbinding%3E%3C%2Fbindings%3E%0A);"><listitem/><listitem/></listbox>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/464149-1.xul
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-
-<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
-
-<window onload="boom();" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-<bindings xmlns="http://www.mozilla.org/xbl">
- <binding id="m"><content><xul:textbox type="text"><children/></xul:textbox></content></binding>
-</bindings>
-
-<script type="text/javascript">
-<![CDATA[
-
-function boom()
-{
- document.getElementById("b").style.MozBinding = 'url("data:text/xml,' + encodeURIComponent("<bindings xmlns='http://www.mozilla.org/xbl'><binding id='foo'><content><hbox xmlns='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul'><children xmlns='http://www.mozilla.org/xbl'/></hbox></content></binding></bindings>\n") + '")';
-}
-
-]]>
-</script>
-
-<listbox style="float: right;"><listitem/><listitem id="b"/><listitem><hbox style="-moz-binding: url(#m);"/></listitem></listbox>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/467481-1.xul
+++ /dev/null
@@ -1,6 +0,0 @@
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="document.getElementById('a').setAttribute('ordinal', 30);">
- <listbox>
- <listitem id="a"/>
- <listitem><iframe/></listitem>
- </listbox>
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/488210-1.xhtml
+++ /dev/null
@@ -1,19 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<script type="text/javascript">
-
-function boom()
-{
- var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
- var listbox = document.createElementNS(XUL_NS, 'listbox');
- document.body.appendChild(listbox);
- listbox.appendChild(document.createElementNS(XUL_NS, 'listitem'));
- listbox.appendChild(document.createElementNS(XUL_NS, 'listboxbody'));
- listbox.appendChild(document.createElementNS(XUL_NS, 'hbox'));
-}
-
-</script>
-</head>
-
-<body onload="boom();"></body>
-</html>
deleted file mode 100644
--- a/layout/xul/crashtests/495728-1.xul
+++ /dev/null
@@ -1,239 +0,0 @@
-<?xml version="1.0"?>
-
-<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
-
-<window id="list-testcase" title="Testcase"
- xmlns:html="http://www.w3.org/1999/xhtml"
- xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
- class="reftest-wait">
-
-<script>
-function scrollup() {
- var list = document.getElementById('list');
- var firstindex = list.getIndexOfItem(document.getElementById('first'));
- list.ensureIndexIsVisible(firstindex);
- setTimeout("document.documentElement.removeAttribute('class')",1);
-}
-
-function scrolldown() {
- var list = document.getElementById('list');
- var lastindex = list.getIndexOfItem(document.getElementById('last'));
- list.ensureIndexIsVisible(lastindex);
- setTimeout("scrollup()",1);
-}
-
-window.addEventListener("load", scrolldown, false);
-</script>
-
-<listbox id="list">
-<listitem label="Item x" id="first"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x"/>
-<listitem label="Item x" id="last"/>
-</listbox>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/508927-1.xul
+++ /dev/null
@@ -1,6 +0,0 @@
-<?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">
-<bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo"><content><xul:listrows xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><xul:listboxbody/><children xmlns="http://www.mozilla.org/xbl"/></xul:listrows></content></binding></bindings>
-<hbox style="-moz-binding: url(#foo);"><listitem/><listitem/></hbox>
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/508927-2.xul
+++ /dev/null
@@ -1,6 +0,0 @@
-<?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">
-<bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo"><content><xul:listrows xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><xul:listboxbody/><children xmlns="http://www.mozilla.org/xbl"/></xul:listrows></content></binding></bindings>
-<hbox style="-moz-binding: url(#foo);"><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/><listitem/></hbox>
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/514300-1.xul
+++ /dev/null
@@ -1,14 +0,0 @@
-<?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" onload="document.getElementById('listbox').removeChild(document.getElementById('span'));">
-
-<bindings xmlns="http://www.mozilla.org/xbl">
- <binding id="foo">
- <content><listitem xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><children xmlns="http://www.mozilla.org/xbl"/></listitem></content>
- </binding>
-</bindings>
-
-<listbox id="listbox" style="-moz-binding: url(#foo)"><span xmlns="http://www.w3.org/1999/xhtml" id="span"/></listbox>
-
-</window>
deleted file mode 100644
--- a/layout/xul/crashtests/536931-1.xhtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
-<listbox id="listbox" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><tab/></listbox>
-<script>window.addEventListener("load", function() { document.documentElement.appendChild(document.getElementById("listbox")); }, false);</script>
-</html>
--- a/layout/xul/crashtests/crashtests.list
+++ b/layout/xul/crashtests/crashtests.list
@@ -1,98 +1,72 @@
load 131008-1.xul
load 137216-1.xul
load 140218-1.xml
load 151826-1.xul
load 168724-1.xul
load 189814-1.xul
load 237787-1.xul
-load 265161-1.xul
load 289410-1.xul
load 290743.html
load 291702-1.xul
load 291702-2.xul
load 291702-3.xul
load 294371-1.xul
load 311457-1.html
load 321056-1.xhtml
load 322786-1.xul
load 325377.xul
-load 326834-1.html
load 326879-1.xul
load 327776-1.xul
load 328135-1.xul
load 329327-1.xul
load 329407-1.xml
load 329477-1.xhtml
load 336962-1.xul
load 344228-1.xul
load 346083-1.xul
load 346281-1.xul
load 350460.xul
-load 360642-1.xul
load 365151.xul
load 366112-1.xul
load 366203-1.xul
load 367185-1.xhtml
load 369942-1.xhtml
load 374102-1.xul
load 376137-1.html
load 376137-2.html
load 377592-1.svg
load 378961.html
load 381862.html
load 382746-1.xul
load 382899-1.xul
-load 383236-1.xul
load 384037-1.xhtml
load 384105-1.html
load 384373.html
-load 384491-1.xhtml
load 384871-1.html
load 386642.xul
load 387033-1.xhtml
load 387080-1.xul
load 391974-1.html
-load 394120-1.xhtml
-load 397293.xhtml # bug 1323652
-load 397304-1.html
-load 398326-1.xhtml
load 399013.xul
-load 400779-1.xhtml
load 402912-1.xhtml
load 404192.xhtml
load 407152.xul
load 408904-1.xul
load 412479-1.xhtml
-load 415394-1.xhtml
load 417509.xul
-load 420424-1.xul
load 430356-1.xhtml
-load 431738.xhtml
-load 432058-1.xul
-load 432068-1.xul
-load 432068-2.xul
-load 433296-1.xul
-load 433429.xul
load 452185.html
-load 464149-1.xul
asserts(0-1) load 464407-1.xhtml # Bugs 450974, 1267054, 718883
load 467080.xul
-load 467481-1.xul
load 470063-1.html
load 470272.html
load 472189.xul
load 475133.html
-load 488210-1.xhtml
-load 495728-1.xul
-load 508927-1.xul
-load 508927-2.xul
-load 514300-1.xul
-load 536931-1.xhtml
load 538308-1.xul
load 557174-1.xml
load 564705-1.xul
load 583957-1.html
load 617089.html
load menulist-focused.xhtml
load 716503.html
load 1379332-1.xul
deleted file mode 100644
--- a/layout/xul/grid/crashtests/382750-1.xul
+++ /dev/null
@@ -1,5 +0,0 @@
-<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-
-<grid><rows><listbox/></rows></grid>
-
-</window>
deleted file mode 100644
--- a/layout/xul/grid/crashtests/400790-1.xul
+++ /dev/null
@@ -1,20 +0,0 @@
-<xul xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();">
-
-<script>
-
-function boom()
-{
- var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-
- var newListbox = document.createElementNS(XUL_NS, "listbox");
- document.getElementById("listbox").appendChild(newListbox);
-
- var newHbox = document.createElementNS(XUL_NS, "hbox");
- document.getElementById("listitem").appendChild(newHbox);
-}
-
-</script>
-
-<listbox id="listbox"><listitem id="listitem" /></listbox>
-
-</xul>
--- a/layout/xul/grid/crashtests/crashtests.list
+++ b/layout/xul/grid/crashtests/crashtests.list
@@ -1,11 +1,9 @@
load 306911-crash.xul
load 306911-grid-testcases.xul
load 306911-grid-testcases2.xul
load 311710-1.xul
load 312784-1.xul
load 313173-1.html
load 321066-1.xul
load 321073-1.xul
-load 382750-1.xul
-load 400790-1.xul
load 423802-crash.xul