Bug 1196920: Add specificationLevel capability to Marionette; r=jgriffin

This commit is contained in:
David Burns 2015-08-20 23:21:21 +01:00
parent c5230b8f2e
commit 3639e93d46
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ class TestCapabilities(MarionetteTestCase):
self.assertIn("browserVersion", self.caps)
self.assertIn("platformName", self.caps)
self.assertIn("platformVersion", self.caps)
self.assertIn("specificationLevel", self.caps)
self.assertEqual(self.caps["browserName"], self.appinfo["name"])
self.assertEqual(self.caps["browserVersion"], self.appinfo["version"])

View File

@ -141,6 +141,7 @@ this.GeckoDriver = function(appName, device, emulator) {
"browserVersion": Services.appinfo.version,
"platformName": Services.appinfo.OS.toUpperCase(),
"platformVersion": Services.appinfo.platformVersion,
"specificationLevel": "1",
// Supported features
"raisesAccessibilityExceptions": false,