mirror of https://github.com/gorhill/uBlock.git
Fix last commit
Related feedback:
https://github.com/uBlockOrigin/uBlock-issues/discussions/3096#discussioncomment-8272470
Related commit:
6cfba082f9
This commit is contained in:
parent
0f12d5f344
commit
7282d953b6
|
@ -1998,7 +1998,8 @@ function noFetchIf(
|
|||
? args[0]
|
||||
: Object.assign({ url: args[0] }, args[1]);
|
||||
if ( propsToMatch === '' && responseBody === '' ) {
|
||||
return safe.uboLog(logPrefix, `Called: ${safe.JSON_stringify(details, null, 2)}`);
|
||||
safe.uboLog(logPrefix, `Called: ${safe.JSON_stringify(details, null, 2)}`);
|
||||
return Reflect.apply(target, thisArg, args);
|
||||
}
|
||||
let proceed = true;
|
||||
try {
|
||||
|
@ -2528,7 +2529,7 @@ function noXhrIf(
|
|||
xhrInstances.set(this, haystack);
|
||||
}
|
||||
if ( propsToMatch === '' && directive === '' ) {
|
||||
return safe.uboLog(logPrefix, `Called: ${safe.JSON_stringify(haystack, null, 2)}`);
|
||||
safe.uboLog(logPrefix, `Called: ${safe.JSON_stringify(haystack, null, 2)}`);
|
||||
}
|
||||
haystack.headers = Object.assign({}, headers);
|
||||
return super.open(method, url, ...args);
|
||||
|
|
Loading…
Reference in New Issue