[sushi/release-3.38.1: 1/2] disable sandboxing: fix #63




commit faab5b2eddfbe9a3dca0d36d83b10396e98ea8e3
Author: Joel Ong <joel ong yale edu>
Date:   Thu May 13 10:41:32 2021 -0400

    disable sandboxing: fix #63

 src/viewers/html.js | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/viewers/html.js b/src/viewers/html.js
index ce01b39..3de4455 100644
--- a/src/viewers/html.js
+++ b/src/viewers/html.js
@@ -49,9 +49,6 @@ var Klass = GObject.registerClass({
     _init(file) {
         super._init();
 
-        let webContext = WebKit2.WebContext.get_default();
-        webContext.set_sandbox_enabled(true);
-
         /* disable the default context menu of the web view */
         this.connect('context-menu',
                      function() {return true;});


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