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