Bug 598203 - make content/xul/document/crashtests/583230.xul more reliable. a=NPOTB

This commit is contained in:
Jesse Ruderman 2010-09-29 17:54:42 -07:00
Родитель 8f0de5e398
Коммит 82b4eeb717
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -1,5 +1,5 @@
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<window class="reftest-wait" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<richlistbox id="a" datasources="" template="d"/> <richlistbox id="a" datasources="" template="d"/>
<script><![CDATA[ <script><![CDATA[
function doe() { function doe() {
@ -17,8 +17,7 @@ try { b.resultBindingChanged(null); } catch(ex) { }
try { b.getResultForId("empty"); } catch(ex) { } try { b.getResultForId("empty"); } catch(ex) { }
try { b.getResultForContent(node); } catch(ex) { } try { b.getResultForContent(node); } catch(ex) { }
try { b.hasGeneratedContent(null, null); } catch(ex) { } try { b.hasGeneratedContent(null, null); } catch(ex) { }
document.documentElement.removeAttribute("class");
} }
setTimeout(doe, 0); window.addEventListener("load", doe, false);
]]></script> ]]></script>
</window> </window>