Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="chrome://global/skin"?>
type="text/css"?>
<!--
-->
<window title="Mozilla Bug 812817"
onload="doTest()">
<panel id="panel" width="200" height="200" onpopupshown="continueTest()">
</panel>
target="_blank">Mozilla Bug 812817</a>
</body>
<!-- test code goes here -->
<script type="application/javascript">
<![CDATA[
SimpleTest.waitForExplicitFinish();
var panel = document.getElementById('panel');
function doTest() {
panel.openPopup(null, '', 500, 500, false, false, null);
}
function continueTest() {
panel.style.background = "url(blue-32x32.png)";
setTimeout(function() {
ok(true, "Didn't crash");
SimpleTest.finish();
}, 50);
}
]]></script>
</window>