From 98af936d3cc985d70e612dc9a3a475afed50920c Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 11 Jun 2015 15:10:17 -0400 Subject: [PATCH] Commented to document test case where this happens --- platform/chromium/vapi-background.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 9bb91cb36..9772c2eb8 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -747,6 +747,8 @@ vAPI.net.registerListeners = function() { // 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: + // https://www.google.com/fonts if ( details.type === 'object' ) { if ( headerValue(details.responseHeaders, 'content-type').lastIndexOf('font/', 0) === 0 ) { details.type = 'font';