/src/main/java/org/htmlunit/html/ScriptElementSupport.java
jsDoc = ( HTMLDocument) window.getDocument( ) ;final Document doc = win.getDocument( ) ;
final Document doc = win.getDocument ( ) ;
throw e; } } } else if (element.getFirstChild() != null) { final Window win = page.getEnclosingWindow().getScriptableObject(); <extra_id_0> try { doc.setCurrentScript(element.getScriptableObject()); executeInlineScriptIfNeeded(element); } finally { doc.setCurrentScript(null);