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