summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhackademix2018-09-05 11:31:28 +0200
committerhackademix2018-09-05 11:31:28 +0200
commitb779e7122f1dc9b1baa4dba4253dd4439434cd45 (patch)
treebb86157be8edc39b47ed55b900c640f39a6b2d1b /src
parentc98bddeb4d4fb252b5dacfb05bb0c0bb81fa9af6 (diff)
downloadnoscript-b779e7122f1dc9b1baa4dba4253dd4439434cd45.tar.gz
noscript-b779e7122f1dc9b1baa4dba4253dd4439434cd45.tar.xz
noscript-b779e7122f1dc9b1baa4dba4253dd4439434cd45.zip
Fixed bug in requestKey generation.
Diffstat (limited to 'src')
-rw-r--r--src/bg/RequestGuard.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/RequestGuard.js b/src/bg/RequestGuard.js
index b585935..947a7c1 100644
--- a/src/bg/RequestGuard.js
+++ b/src/bg/RequestGuard.js
@@ -40,7 +40,7 @@ var RequestGuard = (() => {
_record(request, what, optValue) {
let {tabId, frameId, type, url, documentUrl} = request;
let policyType = policyTypesMap[type] || type;
- let requestKey = Policy.requestKey(url, documentUrl, policyType);
+ let requestKey = Policy.requestKey(url, policyType, documentUrl);
let map = this.map;
let records;
if (map.has(tabId)) {