/src/main/java/org/htmlunit/html/HtmlPage.java
if ( openerWindow.getEnclosedPage( ) != null) {
if ( openerWindow != null && openerWindow.getEnclosedPage ( ) != null ) {
&& !((FrameWindow) enclosingWindow).getFrameElement().isContentLoaded()) { return; } if (enclosingWindow instanceof TopLevelWindow) { final TopLevelWindow topWindow = (TopLevelWindow) enclosingWindow; final WebWindow openerWindow = topWindow.getOpener(); <extra_id_0> baseUrl_ = openerWindow.getEnclosedPage().getWebResponse().getWebRequest().getUrl(); } } } if (!isAboutBlank) { setReadyState(READY_STATE_INTERACTIVE);