mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1008626 - Removed javaScriptEnabled and cssSelectors capabilities ( no longer needed); updated tests accordingly. r=automatedtester
This commit is contained in:
parent
4e78fd0ee5
commit
5370603de4
@ -25,18 +25,14 @@ class TestCapabilities(MarionetteTestCase):
|
||||
self.appinfo["platformVersion"])
|
||||
|
||||
def test_supported_features(self):
|
||||
self.assertIn("cssSelectorsEnabled", self.caps)
|
||||
self.assertIn("handlesAlerts", self.caps)
|
||||
self.assertIn("javascriptEnabled", self.caps)
|
||||
self.assertIn("nativeEvents", self.caps)
|
||||
self.assertIn("rotatable", self.caps)
|
||||
self.assertIn("secureSsl", self.caps)
|
||||
self.assertIn("takesElementScreenshot", self.caps)
|
||||
self.assertIn("takesScreenshot", self.caps)
|
||||
|
||||
self.assertTrue(self.caps["cssSelectorsEnabled"])
|
||||
self.assertFalse(self.caps["handlesAlerts"])
|
||||
self.assertTrue(self.caps["javascriptEnabled"])
|
||||
self.assertFalse(self.caps["nativeEvents"])
|
||||
self.assertEqual(self.caps["rotatable"], self.appinfo["name"] == "B2G")
|
||||
self.assertFalse(self.caps["secureSsl"])
|
||||
|
@ -23,10 +23,8 @@ class TestSession(marionette_test.MarionetteTestCase):
|
||||
self.assertIn("platformVersion", caps)
|
||||
|
||||
# Optional capabilities we want Marionette to support
|
||||
self.assertIn("cssSelectorsEnabled", caps)
|
||||
self.assertIn("device", caps)
|
||||
self.assertIn("handlesAlerts", caps)
|
||||
self.assertIn("javascriptEnabled", caps)
|
||||
self.assertIn("rotatable", caps)
|
||||
self.assertIn("takesScreenshot", caps)
|
||||
self.assertIn("version", caps)
|
||||
|
@ -571,9 +571,7 @@ MarionetteServerConnection.prototype = {
|
||||
"platformVersion": Services.appinfo.platformVersion,
|
||||
|
||||
// Supported features
|
||||
"cssSelectorsEnabled": true,
|
||||
"handlesAlerts": false,
|
||||
"javascriptEnabled": true,
|
||||
"nativeEvents": false,
|
||||
"rotatable": isB2G,
|
||||
"secureSsl": false,
|
||||
|
Loading…
Reference in New Issue
Block a user