/src/main/java/org/htmlunit/html/HtmlPage.java
final AbstractJavaScriptEngine<?> javaScriptEngine = client.getJavaScriptEngine( ) ; if ( null != scriptCode) {&& getWebClient( ).getBrowserVersion( ).hasFeature( JS_IGNORES_UTF8_BOM_SOMETIMES) ) ;
&& getWebClient ( ) .getBrowserVersion ( ) .hasFeature ( JS_IGNORES_UTF8_BOM_SOMETIMES ) ) ; if ( null != scriptCode ) { final AbstractJavaScriptEngine<?> javaScriptEngine = client.getJavaScriptEngine ( ) ;
else { ignoreBom = true; scriptEncoding = contentCharset; } final String scriptCode = response.getContentAsString(scriptEncoding, ignoreBom <extra_id_0> final Object script = javaScriptEngine.compile(this, scriptCode, url.toExternalForm(), 1); if (script != null && cache.cacheIfPossible(request, response, script)) { return script; } response.cleanUp(); return script;