1wasPostTestScriptParsed = true; 2 3if (window.layoutTestController) 4 layoutTestController.waitUntilDone(); 5if (window.wasFinishJSTestCalled) 6 finishJSTest(); 7