Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
<?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
<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>