/src/main/java/org/htmlunit/html/HtmlPage.java
if ( hasFeature ( FOCUS_BODY_ELEMENT_AT_START ) ) { setElementWithFocus ( getBody ( ) ) ; }
executeEventHandlersIfNeeded(Event.TYPE_READY_STATE_CHANGE); } executeDeferredScriptsIfNeeded(); executeEventHandlersIfNeeded(Event.TYPE_DOM_DOCUMENT_LOADED); loadFrames(); if (!isAboutBlank) { <extra_id_0> setReadyState(READY_STATE_COMPLETE); getDocumentElement().setReadyState(READY_STATE_COMPLETE); executeEventHandlersIfNeeded(Event.TYPE_READY_STATE_CHANGE); } boolean isFrameWindow = enclosingWindow instanceof FrameWindow; boolean isFirstPageInFrameWindow = false;