Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 61779edcd4f54f0400911c5ea2d89821 > files > 43

mozilla-firefox-2.0.0.16-2mdv2009.0.src.rpm

--- mozilla/dom/src/base/nsGlobalWindow.cpp.embedblur	2006-08-19 00:08:53.000000000 +0200
+++ mozilla/dom/src/base/nsGlobalWindow.cpp	2006-09-14 10:20:27.000000000 +0200
@@ -3572,7 +3572,9 @@
   if (NS_SUCCEEDED(rv) && mDocShell)
     mDocShell->SetHasFocus(PR_FALSE);
 
-  return rv;
+  // If embedding apps don't implement nsIEmbeddingSiteWindow2, we
+  // shouldn't throw to web content.
+  return NS_OK;
 }
 
 NS_IMETHODIMP