From 5a263bf39d374268d47ff28bc97ff64a8ea55e51 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 11 Jun 2015 15:18:32 -0400 Subject: [PATCH] fixed comment --- platform/chromium/vapi-background.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 9772c2eb8..3d0ccaf82 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -743,11 +743,9 @@ vAPI.net.registerListeners = function() { // fail at transposing `other` into `font` for URLs which are outside // what is expected. At least when headers are received we can check // for content type `font/*`. Blocking at onHeadersReceived time is - // less worst than not blocking at all. Also, ideally vAPI shouldn't - // know about uBlock, but we have to deal with reality here. Also, - // due to Chromium bug, `other` always become `object` in case it - // could not be normalized into something else. - // Test case for "unfriendly" font URLs: + // less worse than not blocking at all. Also, due to Chromium bug, + // `other` always becomes `object` when it can't be normalized into + // something else. Test case for "unfriendly" font URLs: // https://www.google.com/fonts if ( details.type === 'object' ) { if ( headerValue(details.responseHeaders, 'content-type').lastIndexOf('font/', 0) === 0 ) {