gecko-dev/content/xul/document/crashtests/583230.xul

24 строки
873 B
XML

<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<richlistbox id="a" datasources="" template="d"/>
<script><![CDATA[
function doe() {
var node = document.getElementById('a');
var b = node.builder;
document.removeChild(document.documentElement);
b.addResult({}, node);
b.removeResult({});
b.replaceResult({}, {}, node);
b.resultBindingChanged({});
try { b.addResult(null, null); } catch(ex) { }
try { b.removeResult(null); } catch(ex) { }
try { b.replaceResult(null, null, null); } catch(ex) { }
try { b.resultBindingChanged(null); } catch(ex) { }
try { b.getResultForId("empty"); } catch(ex) { }
try { b.getResultForContent(node); } catch(ex) { }
try { b.hasGeneratedContent(null, null); } catch(ex) { }
}
window.addEventListener("load", doe, false);
]]></script>
</window>