Fix is_blocked signature in HostBlockerStub
This commit is contained in:
parent
eb2ec3df58
commit
e01976277b
@ -475,7 +475,7 @@ class HostBlockerStub:
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.blocked_hosts = set()
|
self.blocked_hosts = set()
|
||||||
|
|
||||||
def is_blocked(self, url):
|
def is_blocked(self, url, first_party_url=None):
|
||||||
return url in self.blocked_hosts
|
return url in self.blocked_hosts
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user