2 <?xml-stylesheet href=
"chrome://global/skin" type=
"text/css"?>
3 <?xml-stylesheet href=
"chrome://mochikit/content/tests/SimpleTest/test.css"
6 https://bugzilla.mozilla.org/show_bug.cgi?id=429954
8 <window title=
"Mozilla Bug 429954"
9 xmlns=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
11 <script src=
"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
13 <body xmlns=
"http://www.w3.org/1999/xhtml">
14 <div id=
"content" style=
"display: none">
21 <script class=
"testbody" type=
"application/javascript">
24 SimpleTest.waitForExplicitFinish();
26 SimpleTest.waitForFocus(function () {
27 var win = Services.wm.getMostRecentWindow(
"navigator:browser");
29 var maxX = win.screenX, maxY = win.screenY;
30 var maxWidth = win.outerWidth, maxHeight = win.outerHeight;
33 window.openDialog(
"window_bug429954.xhtml",
"_blank",
34 "chrome,noopener,resizable,width=" + maxWidth +
",height=" + maxHeight +
35 ",screenX=" + maxX +
"screenY=" + maxY,