Loading TBBTestSuite/TestSuite/BrowserBundleTests.pm +0 −2 Original line number Diff line number Diff line Loading @@ -421,8 +421,6 @@ our @tests = ( name => 'fp_navigator', type => 'marionette', descr => 'Check that navigator properties are as expected', # Bug 28665: temporarily disable test enable => sub { undef }, }, { name => 'play_videos', Loading marionette/tor_browser_tests/test_fp_navigator.py +3 −6 Original line number Diff line number Diff line Loading @@ -15,9 +15,9 @@ nav_props = {"appCodeName": "Mozilla", "product": "Gecko", "productSub": "20100101", "plugins": "[object PluginArray]", "cookieEnabled": "true", "cookieEnabled": "false", "onLine": "true", "buildID": "20100101", "buildID": "20181001000000", "doNotTrack": "unspecified", "javaEnabled": """function javaEnabled() { [native code] Loading @@ -28,9 +28,6 @@ nav_props = {"appCodeName": "Mozilla", "vibrate": """function vibrate() { [native code] }""", "registerContentHandler": """function registerContentHandler() { [native code] }""", "registerProtocolHandler": """function registerProtocolHandler() { [native code] }""", Loading Loading @@ -63,7 +60,7 @@ class Test(MarionetteTestCase): app_version = "5.0 (Macintosh)" platform = "MacIntel" oscpu = "Intel Mac OS X 10.13" nav_props["userAgent"] = "Mozilla/5.0 (" + ua_os + "; rv:60.0) Gecko/20100101 Firefox/60.0" nav_props["userAgent"] = "Mozilla/5.0 (" + ua_os + "; rv:78.0) Gecko/20100101 Firefox/78.0" nav_props["appVersion"] = app_version nav_props["platform"] = platform nav_props["oscpu"] = oscpu Loading marionette/tor_browser_tests/test_fp_useragent.py +1 −1 Original line number Diff line number Diff line Loading @@ -19,5 +19,5 @@ class Test(MarionetteTestCase): ua_os = 'Windows NT 6.1; Win64; x64' if osname == 'MacOSX': ua_os = 'Macintosh; Intel Mac OS X 10.13' self.assertEqual("Mozilla/5.0 (" + ua_os + "; rv:60.0) Gecko/20100101 Firefox/60.0", self.assertEqual("Mozilla/5.0 (" + ua_os + "; rv:78.0) Gecko/20100101 Firefox/78.0", js("return navigator.userAgent")) Loading
TBBTestSuite/TestSuite/BrowserBundleTests.pm +0 −2 Original line number Diff line number Diff line Loading @@ -421,8 +421,6 @@ our @tests = ( name => 'fp_navigator', type => 'marionette', descr => 'Check that navigator properties are as expected', # Bug 28665: temporarily disable test enable => sub { undef }, }, { name => 'play_videos', Loading
marionette/tor_browser_tests/test_fp_navigator.py +3 −6 Original line number Diff line number Diff line Loading @@ -15,9 +15,9 @@ nav_props = {"appCodeName": "Mozilla", "product": "Gecko", "productSub": "20100101", "plugins": "[object PluginArray]", "cookieEnabled": "true", "cookieEnabled": "false", "onLine": "true", "buildID": "20100101", "buildID": "20181001000000", "doNotTrack": "unspecified", "javaEnabled": """function javaEnabled() { [native code] Loading @@ -28,9 +28,6 @@ nav_props = {"appCodeName": "Mozilla", "vibrate": """function vibrate() { [native code] }""", "registerContentHandler": """function registerContentHandler() { [native code] }""", "registerProtocolHandler": """function registerProtocolHandler() { [native code] }""", Loading Loading @@ -63,7 +60,7 @@ class Test(MarionetteTestCase): app_version = "5.0 (Macintosh)" platform = "MacIntel" oscpu = "Intel Mac OS X 10.13" nav_props["userAgent"] = "Mozilla/5.0 (" + ua_os + "; rv:60.0) Gecko/20100101 Firefox/60.0" nav_props["userAgent"] = "Mozilla/5.0 (" + ua_os + "; rv:78.0) Gecko/20100101 Firefox/78.0" nav_props["appVersion"] = app_version nav_props["platform"] = platform nav_props["oscpu"] = oscpu Loading
marionette/tor_browser_tests/test_fp_useragent.py +1 −1 Original line number Diff line number Diff line Loading @@ -19,5 +19,5 @@ class Test(MarionetteTestCase): ua_os = 'Windows NT 6.1; Win64; x64' if osname == 'MacOSX': ua_os = 'Macintosh; Intel Mac OS X 10.13' self.assertEqual("Mozilla/5.0 (" + ua_os + "; rv:60.0) Gecko/20100101 Firefox/60.0", self.assertEqual("Mozilla/5.0 (" + ua_os + "; rv:78.0) Gecko/20100101 Firefox/78.0", js("return navigator.userAgent"))