rv = FireUnloadEvent();
if (!mFiredUnloadEvent) {  rv = FireUnloadEvent(); }
NS_IMETHODIMP nsWebShell::Destroy(){  nsresult rv = NS_OK;  //Fire unload event before we blow anything away.  rv = FireUnloadEvent();  nsDocShell::Destroy();  SetContainer(nsnull);  return NS_OK;}