Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > ba17bf283650f0bfe584474187aa5a3b > files > 41

mozilla-firefox-2.0.0.6-12mdv2008.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