diff --git a/src/bg/RequestGuard.js b/src/bg/RequestGuard.js index 953314c..d901dc0 100644 --- a/src/bg/RequestGuard.js +++ b/src/bg/RequestGuard.js @@ -562,7 +562,7 @@ // returns null if request.type is unknown, otherwise either ALLOW, ABORT or a redirect response function checkRequest(request) { - if (!request.type in policyTypesMap) { + if (!(request.type in policyTypesMap)) { return null; }