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