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