Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: layout/base/tests/chrome/chrome.toml
<?xml version="1.0"?>
type="text/css"?>
<!--
-->
onload="doTest()">
<panel id="panel" width="200" height="200" onpopupshown="continueTest()">
</panel>
</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>