diff options
Diffstat (limited to 'widget/tests/test_chrome_context_menus_win.xul')
-rw-r--r-- | widget/tests/test_chrome_context_menus_win.xul | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/widget/tests/test_chrome_context_menus_win.xul b/widget/tests/test_chrome_context_menus_win.xul new file mode 100644 index 0000000000..575e7743df --- /dev/null +++ b/widget/tests/test_chrome_context_menus_win.xul @@ -0,0 +1,27 @@ +<?xml version="1.0"?> + +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> +<script type="application/javascript" + src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" /> +<script type="application/javascript" + src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script> +<script type="application/javascript" src="utils.js"></script> +<script> + setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED); + SimpleTest.waitForExplicitFinish(); + + var w = window.open('chrome_context_menus_win.xul', '_blank', 'chrome,resizable=yes,width=600,height=600'); + + function done() + { + w.close(); + SimpleTest.finish(); + } +</script> +<body xmlns="http://www.w3.org/1999/xhtml" style="height: 300px; overflow: auto;" /> +</window> |