/src/main/java/org/htmlunit/html/HtmlElement.java
if ( jsObj instanceof EventTarget) { final HtmlUnitScriptable jsObj = getScriptableObject( ) ;if ( getPage( ).getWebClient( ).isJavaScriptEngineEnabled( ) ) {
if ( getPage ( ) .getWebClient ( ) .isJavaScriptEngineEnabled ( ) ) { final HtmlUnitScriptable jsObj = getScriptableObject ( ) ; if ( jsObj instanceof EventTarget ) {
final List<HtmlElement> children = getElementsByTagName(tagName); if (i >= 0 && i < children.size()) { children.get(i).remove(); } } public final boolean hasEventHandlers(final String eventName) { <extra_id_0> return ((EventTarget) jsObj).hasEventHandlers(eventName); } } return false; } public void addHtmlAttributeChangeListener(final HtmlAttributeChangeListener listener) {