Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: os == 'android'
- Manifest: toolkit/content/tests/chrome/chrome.toml
<?xml version="1.0"?>
<window title="Popup Attribute Tests"
onload="setTimeout(runTest, 0);"
<script>
SimpleTest.waitForExplicitFinish();
async function runTest()
{
// This test exercises non-native menu code. So disable native context menus for this test.
// If we ever get to a point where we don't use any non-native menus on macOS any more, we can
// disable this test on macOS.
await SpecialPowers.pushPrefEnv({ set: [["widget.macos.native-context-menus", false]] });
window.open("window_popup_attribute.xhtml", "_blank", "width=600,height=800");
}
</script>
<p id="display">
</p>
<div id="content" style="display: none">
</div>
<pre id="test">
</pre>
</body>
</window>