diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-02-18 05:03:03 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-02-18 05:03:03 +0800 |
commit | 2f3e9b5994ebec0a15f6c3ba691732b38a4fbe22 (patch) | |
tree | 4d8adde90646fd03824855d89ae36f4f13a2f382 | |
parent | a04c292acc1e650f5d9bfef58c43c80235f167cb (diff) | |
download | gsoc2013-epiphany-2f3e9b5994ebec0a15f6c3ba691732b38a4fbe22.tar gsoc2013-epiphany-2f3e9b5994ebec0a15f6c3ba691732b38a4fbe22.tar.gz gsoc2013-epiphany-2f3e9b5994ebec0a15f6c3ba691732b38a4fbe22.tar.bz2 gsoc2013-epiphany-2f3e9b5994ebec0a15f6c3ba691732b38a4fbe22.tar.lz gsoc2013-epiphany-2f3e9b5994ebec0a15f6c3ba691732b38a4fbe22.tar.xz gsoc2013-epiphany-2f3e9b5994ebec0a15f6c3ba691732b38a4fbe22.tar.zst gsoc2013-epiphany-2f3e9b5994ebec0a15f6c3ba691732b38a4fbe22.zip |
Comment this out; it's unreliable
svn path=/trunk/; revision=7963
-rw-r--r-- | embed/mozilla/EphyUtils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/mozilla/EphyUtils.cpp b/embed/mozilla/EphyUtils.cpp index 07aa4ceed..c0b7dbda9 100644 --- a/embed/mozilla/EphyUtils.cpp +++ b/embed/mozilla/EphyUtils.cpp @@ -171,6 +171,9 @@ EphyUtils::ConvertUTF16toUTF8 (const PRUnichar *aText, 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 @@ EphyJSUtils::IsCalledFromScript () 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! */ |