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