code review re. #1943

This commit is contained in:
gorhill 2016-08-29 08:10:18 -04:00
parent 60cfab9209
commit 0db340450e
1 changed files with 2 additions and 1 deletions

View File

@ -442,7 +442,8 @@ var processCSP = function(details, pageStore, context) {
blockInlineScript = µb.isBlockResult(inlineScriptResult);
context.requestType = 'websocket';
var websocketResult = µb.staticNetFilteringEngine.matchStringExactType(context, requestURL, 'websocket'),
µb.staticNetFilteringEngine.matchStringExactType(context, requestURL, 'websocket');
var websocketResult = µb.staticNetFilteringEngine.toResultString(loggerEnabled),
blockWebsocket = µb.isBlockResult(websocketResult);
var headersChanged = false;