6 if (window.layoutTestController) {
7 layoutTestController.dumpAsText();
8 layoutTestController.waitUntilDone();
11 window.addEventListener('beforeunload', before, false);
12 window.onunload = unload;
16 alert( "before unload");
22 window.removeEventListener('beforeunload', before, false);
27 location = "data:text/html,If you didn't hit an assert you PASS.<script>if (window.layoutTestController) layoutTestController.notifyDone(); </" + "script>";
33 <body onload="load()">