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