}
public void testOnLoadEventFiresWithBrowerEvent() {
delayTestFinish(FRAME_LOAD_DELAY);
Frame frame = new Frame() {
@Override
public void onBrowserEvent(Event event) {
if (event.getTypeInt() == Event.ONLOAD) {
finishTest();
}
super.onBrowserEvent(event);
}
};
frame.sinkEvents(Event.ONLOAD);
RootPanel.get().add(frame);
frame.setUrl("iframetest.html");
}