mirror of https://github.com/gorhill/uBlock.git
fix #1943
This commit is contained in:
parent
df6fb5070a
commit
bbc00ebb81
|
@ -442,7 +442,7 @@ var processCSP = function(details, pageStore, context) {
|
||||||
blockInlineScript = µb.isBlockResult(inlineScriptResult);
|
blockInlineScript = µb.isBlockResult(inlineScriptResult);
|
||||||
|
|
||||||
context.requestType = 'websocket';
|
context.requestType = 'websocket';
|
||||||
var websocketResult = pageStore.filterRequestNoCache(context),
|
var websocketResult = µb.staticNetFilteringEngine.matchStringExactType(context, requestURL, 'websocket'),
|
||||||
blockWebsocket = µb.isBlockResult(websocketResult);
|
blockWebsocket = µb.isBlockResult(websocketResult);
|
||||||
|
|
||||||
var headersChanged = false;
|
var headersChanged = false;
|
||||||
|
|
Loading…
Reference in New Issue