// called to register child windows (not necessarily full-fledged
// satellites). only used in desktop mode, since in server mode we have the
// child window object as a return value from window.open.
private void registerDesktopChildWindow (String name, JavaScriptObject window)
{
events_.fireEvent(new WindowOpenedEvent(name, (WindowEx) window.cast()));
}