/src/main/java/org/htmlunit/html/ScriptElementSupport.java
jsDoc =((org.htmlunit.javascript.host.html.HTMLDocument)(window.getDocument())); jsDoc.setExecutingDynamicExternalPosponed((((element.getStartLineNumber()) ==(-1)) &&((org.htmlunit.html.DomElement.ATTRIBUTE_NOT_DEFINED) != srcAttrib)));
if ( window != null ) { jsDoc = ( HTMLDocument ) window.getDocument ( ) ; jsDoc.setExecutingDynamicExternalPosponed ( element.getStartLineNumber ( ) == -1 && ATTRIBUTE_NOT_DEFINED != srcAttrib ) ; }
} final PostponedAction action = new PostponedAction(element.getPage(), description.toString()) { @Override public void execute() { HTMLDocument jsDoc = null; final Window window = webWindow.getScriptableObject(); <extra_id_0> try { executeScriptIfNeeded(element, false, false); } finally { if (jsDoc != null) { jsDoc.setExecutingDynamicExternalPosponed(false);