/src/main/java/org/htmlunit/html/HtmlPage.java
while ( !afterLoadActions_.get( ) ) {
while ( !afterLoadActions_.isEmpty ( ) ) {
final Event event = new Event((Window) enclosingWindow.getScriptableObject(), Event.TYPE_FOCUS); body.fireEvent(event); } } } try { <extra_id_0> final PostponedAction action = afterLoadActions_.remove(0); action.execute(); } } catch (final IOException e) { throw e;