Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: http3 OR http2
- Manifest: layout/xul/test/mochitest.toml
<html>
<!--
-->
<script src="/tests/SimpleTest/SimpleTest.js"></script>
</head>
<body>
<iframe id="test386386" src="file_bug386386.sjs"></iframe>
<script class="testbody" type="application/javascript">
function boom()
{
var doc = document.getElementById("test386386").contentDocument;
var observes = doc.createElementNS(XUL_NS, 'observes');
doc.removeChild(doc.documentElement);
doc.appendChild(observes);
is(0, 0, "Test is successful if we get here without crashing");
SimpleTest.finish();
}
function do_test() {
setTimeout(boom, 200);
}
SimpleTest.waitForExplicitFinish();
SimpleTest.requestFlakyTimeout("untriaged");
addLoadEvent(do_test);
</script>
</body>
</html>