2 <?xml-stylesheet href=
"chrome://global/skin" type=
"text/css"?>
3 <window title=
"Mozilla Bug 478536"
5 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
7 <script src=
"chrome://mochikit/content/tests/SimpleTest/EventUtils.js" />
9 <body xmlns=
"http://www.w3.org/1999/xhtml" id=
"body">
12 <script class=
"testbody" type=
"application/javascript">
15 function ok(aCondition, aMessage)
17 window.browsingContext.topChromeWindow.opener.wrappedJSObject.SimpleTest.ok(aCondition, aMessage);
20 function is(aLeft, aRight, aMessage)
22 window.arguments[
0].SimpleTest.is(aLeft, aRight, aMessage);
25 function isnot(aLeft, aRight, aMessage)
27 window.arguments[
0].SimpleTest.isnot(aLeft, aRight, aMessage);
31 var oldWidth = window.outerWidth, oldHeight = window.outerHeight;
34 is(window.outerWidth, oldWidth,
"wrong window width after maximize+restore");
35 is(window.outerHeight, oldHeight,
"wrong window height after maximize+restore");
36 window.arguments[
0].SimpleTest.finish();