code review re. #1943

This commit is contained in:
gorhill 2016-08-29 08:10:18 -04:00
parent 60cfab9209
commit 0db340450e

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;