doClickAction();
stateUpdated = true;
}
final JavaScriptEngine jsEngine = page.getWebClient().getJavaScriptEngine();
jsEngine.holdPosponedActions();
final ScriptResult scriptResult = fireEvent(event);
final boolean pageAlreadyChanged = contentPage != page.getEnclosingWindow().getEnclosedPage();
if (!pageAlreadyChanged && !stateUpdated && !event.isAborted(scriptResult)) {
doClickAction();