Fix is_blocked signature in HostBlockerStub

This commit is contained in:
Florian Bruhin 2018-10-06 17:25:46 +02:00
parent eb2ec3df58
commit e01976277b

View File

@ -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