[devhelp] dh-window: do not disable javascript.



commit 7da130ee4976a4864de41bdf48dc691774be6e78
Author: Mathieu Duponchelle <mathieu duponchelle opencreed com>
Date:   Tue Sep 13 00:16:23 2016 +0200

    dh-window: do not disable javascript.
    
    Some documentation may have render-time logic implemented in
    javascript, and instead of disabling it and implementing it
    ourselves, it makes more sense to simply allow javascript
    altogether.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771327

 src/dh-window.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/dh-window.c b/src/dh-window.c
index edfb2f0..1e8e555 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -1299,7 +1299,6 @@ apply_webview_settings (WebKitWebView *view)
         g_object_set (webkit_web_view_get_settings (view),
                       "enable-html5-database", FALSE,
                       "enable-html5-local-storage", FALSE,
-                      "enable-javascript", FALSE,
                       "enable-plugins", FALSE,
                       NULL);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]