1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

fixed bad test

This commit is contained in:
gorhill 2014-06-26 20:25:01 -04:00
parent ce45a617c8
commit a6496e5cfb

View File

@ -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);
}