/src/main/java/org/htmlunit/html/ScriptElementSupport.java
else if ( element.getFirstChild( ) == null) {
else if ( element.getFirstChild ( ) != null ) {
catch (final FailingHttpStatusCodeException e) { executeEvent(element, Event.TYPE_ERROR); throw e; } } } <extra_id_0> final Window win = page.getEnclosingWindow().getScriptableObject(); final Document doc = win.getDocument(); try { doc.setCurrentScript(element.getScriptableObject()); executeInlineScriptIfNeeded(element); }