From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?No=C3=A9?= Lopez Newsgroups: gmane.emacs.bugs Subject: bug#68604: [PATCH] Add user option to disable JavaScript in xwidget webview Date: Sat, 09 Mar 2024 14:58:51 +0100 Message-ID: <87bk7ntskk.fsf@free.fr> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33205"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 68604@debbugs.gnu.org, rms@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 09 15:00:49 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rixFn-0008U4-VS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Mar 2024 15:00:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rixFY-0004mJ-K3; Sat, 09 Mar 2024 09:00:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rixFW-0004lw-AJ for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2024 09:00:30 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rixFW-0000Gd-1S for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2024 09:00:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rixG2-000769-EA for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2024 09:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Mar 2024 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68604 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 68604-submit@debbugs.gnu.org id=B68604.170999280427109 (code B ref 68604); Sat, 09 Mar 2024 14:01:02 +0000 Original-Received: (at 68604) by debbugs.gnu.org; 9 Mar 2024 14:00:04 +0000 Original-Received: from localhost ([127.0.0.1]:60969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rixF6-00073B-Hg for submit@debbugs.gnu.org; Sat, 09 Mar 2024 09:00:04 -0500 Original-Received: from smtp4-g21.free.fr ([212.27.42.4]:47752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rixF4-00072C-K1 for 68604@debbugs.gnu.org; Sat, 09 Mar 2024 09:00:03 -0500 Original-Received: from lignux (unknown [88.166.66.165]) by smtp4-g21.free.fr (Postfix) with ESMTPS id E027719F5C6; Sat, 9 Mar 2024 14:58:53 +0100 (CET) In-Reply-To: <86v85vyetq.fsf@gnu.org> (message from Eli Zaretskii on Sat, 09 Mar 2024 10:44:33 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281336 Archived-At: I agree with Po, my patch is fine because it is very simple but it would be a bad idea to work on something complicated like extension support as suggested by Richard before the bigger issue is fixed, because then that work would be useless. I don't think I'm up for the task of porting xwidget to the WPE library, because I don't understand much of the documentation. I think simply disabling JavaScript like the current patch does is the best thing to do as long as we use WebKitGTK and not WPE.