Unverified Commit 67d1bcd6 authored by boklm's avatar boklm
Browse files

Bug 20626: allow slider_settings test to use values based on version

Allow the test to expect different slider values depending on the
version being tested.
parent 7502d020
......@@ -30,6 +30,10 @@ class Test(MarionetteTestCase):
"svg.in-content.enabled" : [ 0, False, True, True, True],
};
# Settings for Tor Browser 6.0.* versions
self.kSecuritySettings_60 = {
};
def test_slider_settings(self):
with self.marionette.using_context('content'):
......@@ -45,6 +49,10 @@ class Test(MarionetteTestCase):
for name, val in self.kSecuritySettings.iteritems():
expected_prefs[name] = val[slider_mode]
if self.ts.t['tbbinfos']['version'].startswith('6.0'):
for name, val in self.kSecuritySettings_60.iteritems():
expected_prefs[name] = val[slider_mode]
errors = ''
for name, val in expected_prefs.iteritems():
if self.marionette.get_pref(name) != val:
......
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