/src/main/java/org/htmlunit/html/ScriptElementSupport.java
org.htmlunit.html.ScriptElementSupport.executeEvent(element, Event.TYPE_ERROR);
if ( browserVersion.hasFeature ( JS_SCRIPT_HANDLE_204_AS_ERROR ) ) { executeEvent ( element, Event.TYPE_ERROR ) ; }
} else if (result == JavaScriptLoadResult.DOWNLOAD_ERROR) { executeEvent(element, Event.TYPE_ERROR); } else if (result == JavaScriptLoadResult.NO_CONTENT) { final BrowserVersion browserVersion = page.getWebClient().getBrowserVersion(); <extra_id_0> else { executeEvent(element, Event.TYPE_LOAD); } } } catch (final FailingHttpStatusCodeException e) {