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