[tbb-commits] [tor-browser-build/master] Revert "Bug 40383: Workaround issue in https-e wasm"

boklm at torproject.org boklm at torproject.org
Tue Dec 7 17:18:34 UTC 2021


commit f8a2f0ca796de7cc9a0deec2e1379bf8b7936075
Author: Georg Koppen <gk at torproject.org>
Date:   Tue Dec 7 16:23:12 2021 +0000

    Revert "Bug 40383: Workaround issue in https-e wasm"
    
    This reverts commit 818acaeca3b3ecb2584c0bf1683d0b0d9a328e09.
    
    Closes: #40389.
---
 ...01-Bug-40383-Disable-https-e-wasm-ruleset.patch | 26 ----------------------
 projects/https-everywhere/build                    |  5 -----
 projects/https-everywhere/config                   |  2 --
 3 files changed, 33 deletions(-)

diff --git a/projects/https-everywhere/0001-Bug-40383-Disable-https-e-wasm-ruleset.patch b/projects/https-everywhere/0001-Bug-40383-Disable-https-e-wasm-ruleset.patch
deleted file mode 100644
index 87befad..0000000
--- a/projects/https-everywhere/0001-Bug-40383-Disable-https-e-wasm-ruleset.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 647aa186351f7a6ee6050e0a3a2bde7ccf5a8192 Mon Sep 17 00:00:00 2001
-From: Matthew Finkel <sysrqb at torproject.org>
-Date: Wed, 10 Nov 2021 20:00:18 +0000
-Subject: [PATCH] Bug 40383: Disable https-e wasm ruleset
-
----
- chromium/background-scripts/rules.js | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/chromium/background-scripts/rules.js b/chromium/background-scripts/rules.js
-index 7f0a5b5506..55a3f75094 100644
---- a/chromium/background-scripts/rules.js
-+++ b/chromium/background-scripts/rules.js
-@@ -216,7 +216,8 @@ RuleSets.prototype = {
-     this.store = store;
-     this.ruleActiveStates = await this.store.get_promise('ruleActiveStates', {});
-     try {
--      this.wasm_rs = wasm.RuleSets.new();
-+      // Bug 40383: Disable wasm ruleset for now.
-+      //this.wasm_rs = wasm.RuleSets.new();
-     } catch(e) {
-       util.log(util.WARN, 'Falling back to pure JS implementation: ' + e);
-     }
--- 
-2.25.1
-
diff --git a/projects/https-everywhere/build b/projects/https-everywhere/build
index 4719fd6..10dd4bf 100644
--- a/projects/https-everywhere/build
+++ b/projects/https-everywhere/build
@@ -2,11 +2,6 @@
 [% c("var/set_default_env") -%]
 tar xf [% project %]-[% c('version') %].tar.gz
 cd [% project %]-[% c('version') %]
-
-[% IF c("var/windows") %]
-  patch -p1 < $rootdir/0001-Bug-40383-Disable-https-e-wasm-ruleset.patch
-[% END -%]
-
 ./make.sh
 # Since 5.0.2 a .xpi for AMO is built, too. We don't need it.
 rm pkg/*-amo.xpi
diff --git a/projects/https-everywhere/config b/projects/https-everywhere/config
index 012680a..9af5ff6 100644
--- a/projects/https-everywhere/config
+++ b/projects/https-everywhere/config
@@ -33,5 +33,3 @@ var:
 
 input_files:
   - project: container-image
-  - filename: 0001-Bug-40383-Disable-https-e-wasm-ruleset.patch
-    enable: '[% c("var/windows") %]'



More information about the tbb-commits mailing list