Changeset 27435 in webkit
- Timestamp:
- Nov 5, 2007 6:30:59 AM (17 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r27406 r27435 1 2007-11-05 Alexey Proskuryakov <ap@webkit.org> 2 3 Reviewed by Darin. 4 5 http://bugs.webkit.org/show_bug.cgi?id=15841 6 fast/dom/Document/early-document-access.html crashes under GuardMalloc 7 8 * fast/dom/Document/early-document-access.html: Don't check for open() timeout; 9 wait for popup window to close as long as it takes. 10 1 11 2007-11-03 Darin Adler <darin@apple.com> 2 12 -
trunk/LayoutTests/fast/dom/Document/early-document-access.html
r25576 r27435 12 12 if (newWindow) { 13 13 newWindow.document; // access the document 14 setTimeout(fail, 5000); // fail if we take longer than 5 seconds15 14 } else { 16 15 document.body.innerText = 'FAIL: window.open failed to make a window.'; 17 layoutTestController.notifyDone(); 16 if (window.layoutTestController) 17 layoutTestController.notifyDone(); 18 18 } 19 19 } 20 20 21 21 function done() { 22 newWindow.close();23 22 if (window.layoutTestController) 24 setTimeout("layoutTestController.notifyDone()", 100); 23 if (layoutTestController.windowCount() == 1) 24 layoutTestController.notifyDone(); 25 else 26 setTimeout("done()", 100); 25 27 } 26 28 27 29 function pass() { 28 30 document.body.innerText = 'PASS'; 31 newWindow.close(); 29 32 done(); 30 33 } … … 32 35 function fail() { 33 36 document.body.innerText = 'FAIL'; 37 newWindow.close(); 34 38 done(); 35 39 }
Note: See TracChangeset
for help on using the changeset viewer.