protected void setAndExecuteReadyState(final String state) {
if (getPage().getWebClient().getBrowserVersion().isIE()) {
setReadyState(state);
final HTMLScriptElement script = (HTMLScriptElement) getScriptObject();
final Event event = new Event(this, Event.TYPE_READY_STATE_CHANGE);
script.executeEvent(event);
}
}
/**
* @see com.gargoylesoftware.htmlunit.html.HtmlInput#asText()