mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Commented to document test case where this happens
This commit is contained in:
parent
6d023e2a52
commit
98af936d3c
1 changed files with 2 additions and 0 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue