aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-08-18 20:54:07 +0200
committerWojtek Kosior <koszko@koszko.org>2021-08-18 20:54:07 +0200
commit3d0efa153c95f3bf4912379f910bc59d0fd563c9 (patch)
tree037779008eb9513fc7a4e30b135a769313cc7d43 /common
parent014f2a2f4e2071c35314d67285711f0f4615266b (diff)
downloadbrowser-extension-3d0efa153c95f3bf4912379f910bc59d0fd563c9.tar.gz
browser-extension-3d0efa153c95f3bf4912379f910bc59d0fd563c9.zip
remove unneeded policy-related cosole messages; restore IceCat 60 compatibility
Diffstat (limited to 'common')
-rw-r--r--common/misc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/misc.js b/common/misc.js
index 39c696f..6e825d6 100644
--- a/common/misc.js
+++ b/common/misc.js
@@ -56,7 +56,7 @@ function get_secure_salt()
function extract_signed(signature, data, times)
{
const now = new Date();
- times ||= [[now], [now, -1]];
+ times = times || [[now], [now, -1]];
const reductor =
(ok, time) => ok || signature === sign_data(data, ...time);