/src/main/java/org/htmlunit/html/ScriptElementSupport.java
executeEvent( element, Event.TYPE_ERROR) ;executeEvent( element, Event.TYPE_LOAD) ;
executeEvent ( element, Event.TYPE_LOAD ) ;
executeInlineScriptIfNeeded(element); } finally { doc.setCurrentScript(null); } if (element.hasFeature(EVENT_ONLOAD_INTERNAL_JAVASCRIPT)) { <extra_id_0> } } } private static boolean isExecutionNeeded(final DomElement element, final boolean ignoreAttachedToPage, final boolean ignorePageIsAncestor) { final ScriptElement script = (ScriptElement) element;