1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00
This commit is contained in:
gorhill 2017-03-16 19:14:25 -04:00
parent 23fa686f46
commit d7f751d42b
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -437,9 +437,11 @@ var processCSP = function(pageStore, details) {
inlineScriptResult = pageStore.filterRequestNoCache(context);
blockInlineScript = µb.isBlockResult(inlineScriptResult);
// https://github.com/gorhill/uBlock/issues/2360
// https://github.com/gorhill/uBlock/issues/2440
context.requestType = 'script';
context.requestURL = 'blob:';
workerResult = pageStore.filterRequestNoCache(context);
µb.staticNetFilteringEngine.matchString(context);
workerResult = µb.staticNetFilteringEngine.toResultString(loggerEnabled);
blockWorker = µb.isBlockResult(workerResult);
}
@ -469,7 +471,7 @@ var processCSP = function(pageStore, details) {
context.pageHostname
);
}
if ( websocketResult !== '' ) {
if ( websocketResult ) {
µb.logger.writeOne(
tabId,
'net',
@ -480,7 +482,7 @@ var processCSP = function(pageStore, details) {
context.pageHostname
);
}
if ( workerResult !== '' ) {
if ( workerResult ) {
µb.logger.writeOne(
tabId,
'net',