mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-04 01:59:38 +02:00
code review re. #1943
This commit is contained in:
parent
60cfab9209
commit
0db340450e
@ -442,7 +442,8 @@ var processCSP = function(details, pageStore, context) {
|
|||||||
blockInlineScript = µb.isBlockResult(inlineScriptResult);
|
blockInlineScript = µb.isBlockResult(inlineScriptResult);
|
||||||
|
|
||||||
context.requestType = 'websocket';
|
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);
|
blockWebsocket = µb.isBlockResult(websocketResult);
|
||||||
|
|
||||||
var headersChanged = false;
|
var headersChanged = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user