/src/main/java/org/htmlunit/html/HtmlInput.java
} return newInput;
return newInput; }
final WebClient client = page.getWebClient(); if (client.isJavaScriptEngineEnabled()) { final HTMLInputElement scriptable = getScriptableObject(); setScriptableObject(null); scriptable.setDomNode(newInput, true); } <extra_id_0> super.setAttributeNS(null, TYPE_ATTRIBUTE, newType, true, true); } return this; } protected void adjustValueAfterTypeChange(final HtmlInput oldInput, final BrowserVersion browserVersion) { final String originalValue = oldInput.getValue();