1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-19 19:52:51 +02:00

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;