/src/main/java/org/htmlunit/html/HtmlPage.java
if ( !client.isJavaScriptEnabled( ) ) {
if ( StringUtils.isBlank ( srcAttribute ) || !client.isJavaScriptEnabled ( ) ) {
DOWNLOAD_ERROR, COMPILATION_ERROR } JavaScriptLoadResult loadExternalJavaScriptFile(final String srcAttribute, final Charset scriptCharset) throws FailingHttpStatusCodeException { final WebClient client = getWebClient(); <extra_id_0> return JavaScriptLoadResult.NOOP; } final URL scriptURL; try { scriptURL = getFullyQualifiedUrl(srcAttribute); final String protocol = scriptURL.getProtocol();