/src/main/java/org/htmlunit/html/HtmlPage.java
final Cache cache = client.getCache( ) ;final Page page = frameWindow.getEnclosedPage( ) ;
final Page page = frameWindow.getEnclosedPage ( ) ;
} if (isFrameWindow && !isFirstPageInFrameWindow) { executeEventHandlersIfNeeded(Event.TYPE_LOAD); } for (final FrameWindow frameWindow : getFrames()) { if (frameWindow.getFrameElement() instanceof HtmlFrame) { <extra_id_0> if (page != null && page.isHtmlPage()) { ((HtmlPage) page).executeEventHandlersIfNeeded(Event.TYPE_LOAD); } } } if (!isFrameWindow) {