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