Author: chpe
Date: Sun Feb 17 21:03:03 2008
New Revision: 7963
URL: http://svn.gnome.org/viewvc/epiphany?rev=7963&view=rev
Log:
Comment this out; it's unreliable
Modified:
trunk/embed/mozilla/EphyUtils.cpp
Modified: trunk/embed/mozilla/EphyUtils.cpp
==============================================================================
--- trunk/embed/mozilla/EphyUtils.cpp (original)
+++ trunk/embed/mozilla/EphyUtils.cpp Sun Feb 17 21:03:03 2008
@@ -171,6 +171,9 @@
PRBool
EphyJSUtils::IsCalledFromScript ()
{
+#if 1
+ return PR_FALSE;
+#else
nsresult rv;
nsCOMPtr<nsIXPConnect> xpc(do_GetService(nsIXPConnect::GetCID(), &rv));
NS_ENSURE_SUCCESS (rv, PR_FALSE);
@@ -180,6 +183,7 @@
NS_ENSURE_SUCCESS(rv, PR_FALSE);
return nsnull != ncc;
+#endif
}
/* NOTE: Only call this when we're SURE that we're called directly from JS! */
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.