summaryrefslogtreecommitdiffstats
path: root/xpfe/test/winopen.xul
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /xpfe/test/winopen.xul
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'xpfe/test/winopen.xul')
-rw-r--r--xpfe/test/winopen.xul75
1 files changed, 75 insertions, 0 deletions
diff --git a/xpfe/test/winopen.xul b/xpfe/test/winopen.xul
new file mode 100644
index 000000000..929370b8a
--- /dev/null
+++ b/xpfe/test/winopen.xul
@@ -0,0 +1,75 @@
+<?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<window
+xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+orient="vertical"
+ height="300"
+ width="400"
+ windowtype="opener:test"
+ onunload="restoreChromeURL();"
+ onload="scheduleNextWindow();">
+
+<script src="winopen.js" type="application/x-javascript"></script>
+
+<groupbox orient="vertical">
+<caption label="Window Opening Test"/>
+<html>
+This will open a series of browser windows, either "one at a
+ time" or in a sequence of some form. When this test is complete
+ a final window will be opened which will report the overall results.
+ </html>
+<separator class="thick"/>
+<grid>
+<columns><column/><column/></columns>
+<rows>
+<row align="center">
+<text value="Index:"/>
+<textbox id="formIndex" size="6" value=""/>
+</row>
+<row align="center">
+<text value="Time:"/>
+<textbox id="formTime" size="6" value=""/>
+<text value="msec"/>
+</row>
+</rows>
+</grid>
+<separator class="thick"/>
+</groupbox>
+
+<groupbox orient="vertical">
+ <caption label="Results"/>
+ <grid>
+ <columns>
+ <column/>
+ <column/>
+ </columns>
+ <rows>
+ <row align="center">
+ <text value="Times (ignoring the first):"/>
+ <textbox id="formTimes" size="45" value=""/>
+ </row>
+ <row align="center">
+ <text value="Txul (median):"/>
+ <hbox>
+ <textbox id="formMed" size="6" value=""/>
+ <spring/>
+ <button id="formAgain" onclick="tryAgain();" label="Try again" disabled="true"/>
+ </hbox>
+ </row>
+ <row align="center">
+ <text value="Avg:"/>
+ <hbox><textbox id="formAvg" size="6" value=""/></hbox>
+ </row>
+ <row align="center">
+ <text value="Min:"/>
+ <hbox><textbox id="formMin" size="6" value=""/></hbox>
+ </row>
+ <row align="center">
+ <text value="Max:"/>
+ <hbox><textbox id="formMax" size="6" value=""/></hbox>
+ </row>
+ </rows>
+ </grid>
+</groupbox>
+
+</window>
+