Unverified Commit 818acaec authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Bug 40383: Workaround issue in https-e wasm

parent 310e077d
From 647aa186351f7a6ee6050e0a3a2bde7ccf5a8192 Mon Sep 17 00:00:00 2001
From: Matthew Finkel <sysrqb@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
......@@ -2,6 +2,11 @@
[% 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
......
......@@ -33,3 +33,5 @@ var:
input_files:
- project: container-image
- filename: 0001-Bug-40383-Disable-https-e-wasm-ruleset.patch
enable: '[% c("var/windows") %]'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment