mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 02:42:41 +01:00
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
Block a user