nsAppShellService::CloseTopLevelWindow(nsIXULWindow* aWindow)
nsAppShellService::CloseTopLevelWindow(nsIWebShellWindow* aWindow)
nsAppShellService::CloseTopLevelWindow(nsIXULWindow* aWindow){   nsCOMPtr<nsIWebShellWindow> webShellWin(do_QueryInterface(aWindow));   NS_ENSURE_TRUE(webShellWin, NS_ERROR_FAILURE);   return webShellWin->Close();}