mirror of https://github.com/gorhill/uBlock.git
Test for existence of browser.dns
Related issue: - https://github.com/uBlockOrigin/uBlock-issues/issues/780 browser.dns is not available before Firefox 60, test for presence.
This commit is contained in:
parent
5a829b3e87
commit
02075ab97a
|
@ -167,7 +167,8 @@
|
|||
if (
|
||||
typeof list !== 'string' ||
|
||||
list.length === 0 ||
|
||||
list === 'unset'
|
||||
list === 'unset' ||
|
||||
browser.dns instanceof Object === false
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue