summaryrefslogtreecommitdiff
path: root/dom/xul/crashtests/583230.xul
blob: 0361b619d8b709377a20994468dea17383dee7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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>