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