mirror of https://github.com/gorhill/uBlock.git
fixed bad test
This commit is contained in:
parent
ce45a617c8
commit
a6496e5cfb
|
@ -82,7 +82,7 @@ var onBeforeRequestHandler = function(details) {
|
|||
reason = µb.abpFilters.matchString(pageStore, requestURL, requestType, requestHostname);
|
||||
}
|
||||
// Record what happened.
|
||||
if ( pageStore ) {
|
||||
if ( pageStore.recordRequest ) {
|
||||
pageStore.recordRequest(requestType, requestURL, reason);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue