From a6496e5cfb76d1a13d3ca8836cb21d5969b49ae7 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 26 Jun 2014 20:25:01 -0400 Subject: [PATCH] fixed bad test --- js/traffic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/traffic.js b/js/traffic.js index 45327fd5d..a35baf247 100644 --- a/js/traffic.js +++ b/js/traffic.js @@ -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); }