/src/main/java/org/htmlunit/html/HtmlPage.java
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) { final Page page = frameWindow.getEnclosedPage(); <extra_id_0> } } if (!isFrameWindow) { executeEventHandlersIfNeeded(Event.TYPE_LOAD); if (!isAboutBlank && enclosingWindow.getWebClient().isJavaScriptEnabled() && hasFeature(EVENT_FOCUS_ON_LOAD)) {