mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 15:02:11 +00:00
Bug 1605550 - Narrow the filter for Safebrowsing files to avoid collisions r=marionette-reviewers,dimi,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D58586 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
21da23a2c7
commit
e6d6a4346d
@ -71,13 +71,15 @@ class TestSafeBrowsingInitialDownload(PuppeteerMixin, MarionetteTestCase):
|
|||||||
super(TestSafeBrowsingInitialDownload, self).setUp()
|
super(TestSafeBrowsingInitialDownload, self).setUp()
|
||||||
|
|
||||||
self.safebrowsing_v2_files = self.get_safebrowsing_files(False)
|
self.safebrowsing_v2_files = self.get_safebrowsing_files(False)
|
||||||
if any(f.startswith('goog') for f in self.safebrowsing_v2_files):
|
if any(f.startswith('goog-') or f.startswith('googpub-')
|
||||||
|
for f in self.safebrowsing_v2_files):
|
||||||
self.prefs_provider_update_time.update({
|
self.prefs_provider_update_time.update({
|
||||||
'browser.safebrowsing.provider.google.nextupdatetime': 1,
|
'browser.safebrowsing.provider.google.nextupdatetime': 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
self.safebrowsing_v4_files = self.get_safebrowsing_files(True)
|
self.safebrowsing_v4_files = self.get_safebrowsing_files(True)
|
||||||
if any(f.startswith('goog') for f in self.safebrowsing_v4_files):
|
if any(f.startswith('goog-') or f.startswith('googpub-')
|
||||||
|
for f in self.safebrowsing_v4_files):
|
||||||
self.prefs_provider_update_time.update({
|
self.prefs_provider_update_time.update({
|
||||||
'browser.safebrowsing.provider.google4.nextupdatetime': 1,
|
'browser.safebrowsing.provider.google4.nextupdatetime': 1,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user