Bug 458256. Use LoadLibraryW instead of LoadLibrary (patch by DougT). r+sr=vlad
[wine-gecko.git] / tools / performance / startup / open10Windows.xul
blobccd14229393acf82181ace7e22bf42d8624249e6
1 <?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
3 <!DOCTYPE window>
5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
6 id="open10Windows"
7 onload="onload();">
8 <script type="application/x-javascript">
9 <![CDATA[
10 const n = 11;
11 var sub = [];
12 function onload() {
13 var i = n;
14 while( i-- ) {
15 window.setTimeout( 'sub[n] = openMiniXul();', i*1000 );
17 window.setTimeout( 'shutDown();', n*1000 );
19 function openMiniXul(n) {
20 return window.openDialog("chrome://navigator/content/miniXul.xul","_blank","","chrome,all");
22 function shutDown() {
23 var i = n;
24 while( i-- ) {
25 sub[i].close();
27 window.close();
29 ]]>
30 </script>
31 </window>