|
1 <?xml version="1.0"?><!-- -*- Mode: xml; tab-width: 2; indent-tabs-mode: nil -*- --> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?> |
|
7 <?xml-stylesheet href="XSLTMark.css" type="text/css"?> |
|
8 <window id="XSLTMarkHarness" |
|
9 title="XSLTMark" |
|
10 onload="view.onLoad()" |
|
11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
12 orient="vertical"> |
|
13 <script type="application/x-javascript" src="XSLTMark-static.js" /> |
|
14 <script type="application/x-javascript" src="XSLTMark-test.js" /> |
|
15 <script type="application/x-javascript" src="XSLTMark-view.js" /> |
|
16 |
|
17 <hbox> |
|
18 <groupbox orient="horizontal"> |
|
19 <caption label="test description file" /> |
|
20 <label value=""/><!-- needed, otherwise groupbox fucks up :-( --> |
|
21 <textbox id="config" persist="value" readonly="true"/> |
|
22 <button label="browse..." oncommand="view.browseForConfig();" /> |
|
23 </groupbox> |
|
24 <groupbox orient="horizontal"> |
|
25 <caption label="test control" /> |
|
26 <button label="run..." |
|
27 oncommand="setTimeout('view.runBenchmark();', 0);" /> |
|
28 <button label="stop" oncommand="view.onStop();" /> |
|
29 </groupbox> |
|
30 <groupbox orient="horizontal"> |
|
31 <caption label="options" /> |
|
32 <label value="responsiveness: "/> |
|
33 <menulist label="sloppy"> |
|
34 <menupopup> |
|
35 <menuitem label="sloppy" selected="true"/> |
|
36 <menuitem label="bad"/> |
|
37 </menupopup> |
|
38 </menulist> |
|
39 </groupbox> |
|
40 </hbox> |
|
41 <hbox> |
|
42 <textbox id="currentStatus" readonly="true" flex="1"/> |
|
43 <progressmeter id="currentProgress" mode="normal" value="0" flex="2"/> |
|
44 <progressmeter id="totalProgress" mode="normal" value="0" flex="2"/> |
|
45 </hbox> |
|
46 <hbox flex="1"> |
|
47 <textbox id="transformOutput" class="out" readonly="true" multiline="true" flex="1"/> |
|
48 </hbox> |
|
49 <hbox flex="1"> |
|
50 <textbox id="transformDetailedOutput" class="out" readonly="true" multiline="true" flex="1"/> |
|
51 </hbox> |
|
52 </window> |