widget/tests/test_standalone_native_menu.xul
author Justin Dolske <dolske@mozilla.com>
Wed, 16 Jun 2010 17:06:17 -0700
changeset 43706 dbe1e5c26aa3c4fecc5d31160fcfd21f0041af3f
parent 37976 b21188a34531ece7794743d3682d5561c8bbc23d
child 75084 67f6f1908b0f4cb8c00d3de763787fdb8fe8eeeb
permissions -rw-r--r--
Bug 563274 - Overhaul nsIPrompt-related prompting code. r=gavin, sr=bs

<?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="Standalone Native Menu tests"
  xmlns:html="http://www.w3.org/1999/xhtml"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <title>Native menu system tests</title>
  <script type="application/javascript" 
          src="chrome://mochikit/content/MochiKit/packed.js"></script>
  <script type="application/javascript"
          src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />

<body  xmlns="http://www.w3.org/1999/xhtml">
<p id="display"></p>
<div id="content" style="display: none">
  
</div>
<pre id="test">
</pre>
</body>

<script class="testbody" type="application/javascript">
<![CDATA[

SimpleTest.waitForExplicitFinish();
window.open("standalone_native_menu_window.xul", "StandaloneNativeMenuWindow", 
            "chrome,width=600,height=600");

]]>
</script>

</window>