Browse Source

report raw type in logger instead of normalized type

pull/2/head
gorhill 8 years ago
parent
commit
585802510a
  1. 2
      src/js/traffic.js

2
src/js/traffic.js

@ -139,7 +139,7 @@ var onBeforeRequestHandler = function(details) {
// it is available. // it is available.
var pageStore = µm.mustPageStoreFromTabId(tabId); var pageStore = µm.mustPageStoreFromTabId(tabId);
pageStore.recordRequest(requestType, requestURL, block); pageStore.recordRequest(requestType, requestURL, block);
µm.logger.writeOne(tabId, 'net', rootHostname, requestURL, requestType, block);
µm.logger.writeOne(tabId, 'net', rootHostname, requestURL, details.type, block);
// Allowed? // Allowed?
if ( !block ) { if ( !block ) {

Loading…
Cancel
Save