2 if (window.layoutTestController) {
3 layoutTestController.dumpAsText();
4 // DumpRenderTree requires waitUntilDone for this test even though it's not needed.
5 layoutTestController.waitUntilDone();
6 layoutTestController.setCanOpenWindows();
7 layoutTestController.setCloseRemainingWindowsWhenComplete(true);
9 var w = window.open("data:text/html,foo");
13 window.onload = function() {
14 if (window.layoutTestController)
15 layoutTestController.notifyDone();
18 This test passes if it doesn't crash.