3 <title>initial title</title>
5 var popup, popup2, popup3, popup4;
7 // window.open, window.close should be synchronous
9 popup = window.open('title1.html', 'name');
12 popup = window.open('title2.html', 'name', 'width=200,height=200');
16 // Try opening/closing a few windows.
24 setTimeout(closePopups, 0);
30 setTimeout(closePopupsAndDone, 250);
33 function openPopups() {
34 popup = window.open('title1.html', 'name');
35 popup2 = window.open('title1.html', 'name2');
36 popup3 = window.open('title1.html', 'name3');
37 popup4 = window.open('title1.html', 'name4');
40 function closePopups() {
47 function closePopupsAndDone() {
49 document.location = 'title2.html'
52 function startTheTest() {
59 <body onload="startTheTest()">