aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-20 22:03:24 +0800
committerXan Lopez <xan@igalia.com>2013-03-20 22:04:51 +0800
commit8ffda1baa20998c9a1b8be29a3900f5941fb2601 (patch)
tree06c88146fffb9304026899695cde8bdbd8995e99
parent694f942afc5c1a2e237921372259b835c98b3122 (diff)
downloadgsoc2013-epiphany-8ffda1baa20998c9a1b8be29a3900f5941fb2601.tar
gsoc2013-epiphany-8ffda1baa20998c9a1b8be29a3900f5941fb2601.tar.gz
gsoc2013-epiphany-8ffda1baa20998c9a1b8be29a3900f5941fb2601.tar.bz2
gsoc2013-epiphany-8ffda1baa20998c9a1b8be29a3900f5941fb2601.tar.lz
gsoc2013-epiphany-8ffda1baa20998c9a1b8be29a3900f5941fb2601.tar.xz
gsoc2013-epiphany-8ffda1baa20998c9a1b8be29a3900f5941fb2601.tar.zst
gsoc2013-epiphany-8ffda1baa20998c9a1b8be29a3900f5941fb2601.zip
ephy-web-view: disable modified forms check in WebKit2
This code is causing some problems because the check happens in a sync call right before a WebView is destroyed. There seems to be a race condition and some times the method call will hang for seconds waiting for a dead process on the other side. We'll figure it out for 3.8.1, but for now disable it since it's causing more harm than good.
-rw-r--r--embed/ephy-web-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index dde69c0c6..ef14f2ad0 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -3494,6 +3494,8 @@ gboolean
ephy_web_view_has_modified_forms (EphyWebView *view)
{
#ifdef HAVE_WEBKIT2
+ return FALSE;
+#if 0
GDBusProxy *web_extension;
GVariant *result;
gboolean retval = FALSE;
@@ -3515,6 +3517,7 @@ ephy_web_view_has_modified_forms (EphyWebView *view)
g_variant_unref (result);
return retval;
+#endif
#else
g_return_val_if_fail (EPHY_IS_WEB_VIEW (view), FALSE);