widget/tests/window_bug593307_offscreen.xul

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 <?xml version="1.0"?>
michael@0 2 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
michael@0 3 <window title="Mozilla Bug 593307"
michael@0 4 width="100" height="100"
michael@0 5 onload="onLoad();"
michael@0 6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
michael@0 7
michael@0 8 <script type="application/javascript"
michael@0 9 src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js" />
michael@0 10
michael@0 11 <body xmlns="http://www.w3.org/1999/xhtml" id="body">
michael@0 12 </body>
michael@0 13
michael@0 14 <script class="testbody" type="application/javascript">
michael@0 15 <![CDATA[
michael@0 16
michael@0 17 var centerscreen = null;
michael@0 18 var SimpleTest = window.arguments[0];
michael@0 19 var finish = window.arguments[1];
michael@0 20
michael@0 21 function onLoad()
michael@0 22 {
michael@0 23 centerscreen = window.openDialog('window_bug593307_centerscreen.xul','', 'chrome,centerscreen,dependent,dialog=no');
michael@0 24 }
michael@0 25
michael@0 26 function finished() {
michael@0 27 centerscreen.close();
michael@0 28 finish();
michael@0 29 }
michael@0 30
michael@0 31 ]]>
michael@0 32 </script>
michael@0 33
michael@0 34 </window>

mercurial