Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'linux' && os_version == '24.04' && processor == 'x86_64' && display == 'x11' && opt
- Manifest: dom/tests/mochitest/chrome/chrome.toml
<?xml version="1.0"?>
<window title="Focus Tests"
onload="setTimeout(runTest, 0);"
<script>
SimpleTest.expectAssertions(0, 1);
SimpleTest.waitForExplicitFinish();
async function runTest()
{
window.openDialog("window_focus.xhtml", "_blank", "chrome,width=600,height=550,noopener", window);
}
</script>
<p id="display">
</p>
<div id="content" style="display: none">
</div>
<pre id="test">
</pre>
</body>
</window>