/src/main/java/org/htmlunit/html/DomElement.java
return ( P) getPage( ).getWebClient( ).getCurrentWindow( ).getEnclosedPage( ) ;final boolean pageAlreadyChanged = contentPage != page.getEnclosingWindow( ).getEnclosedPage( ) ;
final boolean pageAlreadyChanged = contentPage != page.getEnclosingWindow ( ) .getEnclosedPage ( ) ;
} final AbstractJavaScriptEngine<?> jsEngine = page.getWebClient().getJavaScriptEngine(); jsEngine.holdPosponedActions(); try { final ScriptResult scriptResult = doClickFireClickEvent(event); final boolean eventIsAborted = event.isAborted(scriptResult); <extra_id_0> if (!pageAlreadyChanged && !stateUpdated && !eventIsAborted) { changed = doClickStateUpdate(shiftKey, ctrlKey); } } finally { jsEngine.processPostponedActions();