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