[epiphany] ephy-web-view: disable modified forms check in WebKit2
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-web-view: disable modified forms check in WebKit2
- Date: Wed, 20 Mar 2013 14:05:11 +0000 (UTC)
commit 8ffda1baa20998c9a1b8be29a3900f5941fb2601
Author: Xan Lopez <xan igalia com>
Date: Wed Mar 20 15:03:24 2013 +0100
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.
embed/ephy-web-view.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index dde69c0..ef14f2a 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]