Unverified Commit d6340a31 authored by boklm's avatar boklm
Browse files

Bug 28904: add specific settings for 8.0

Remove variable specific settings for 7.0 and add one for 8.5.

We also remove the general.useragent.override pref which is not set
anymore with the changes for #26146.
parent 65194e10
......@@ -155,14 +155,12 @@ class Test(MarionetteTestCase):
"network.jar.block-remote-files": True,
}
# Settings for the Tor Browser 7.0
self.SETTINGS_70 = {
"general.useragent.override": "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0",
# Settings for the Tor Browser 8.0
self.SETTINGS_80 = {
}
# Settings for the Tor Browser 8.0 and Nightly
self.SETTINGS_80 = {
"general.useragent.override": "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0",
# Settings for the Tor Browser 8.5 and Nightly
self.SETTINGS_85 = {
}
def test_settings(self):
......@@ -171,12 +169,12 @@ class Test(MarionetteTestCase):
self.marionette.navigate('about:robots')
settings = self.SETTINGS.copy()
if self.ts.t['tbbinfos']['version'].startswith('7.0'):
settings.update(self.SETTINGS_70)
if self.ts.t['tbbinfos']['version'].startswith('8.0'):
settings.update(self.SETTINGS_80)
if self.ts.t['tbbinfos']['version'].startswith('8.0') or \
if self.ts.t['tbbinfos']['version'].startswith('8.5') or \
self.ts.t['tbbinfos']['version'] == 'tbb-nightly':
settings.update(self.SETTINGS_80)
settings.update(self.SETTINGS_85)
errors = ''
for name, val in settings.iteritems():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment