Fixed bug in requestKey generation.

This commit is contained in:
hackademix 2018-09-05 11:31:28 +02:00
parent c98bddeb4d
commit b779e7122f
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {