mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 964366 - Session capabilities missing browserVersion. r=mdas
This commit is contained in:
parent
408416b203
commit
bd9a63ae17
@ -41,10 +41,12 @@ class TestCapabilities(marionette_test.MarionetteTestCase):
|
||||
|
||||
def test_mandates_capabilities(self):
|
||||
self.assertIn("browserName", self.caps)
|
||||
self.assertIn("browserVersion", self.caps)
|
||||
self.assertIn("platformName", self.caps)
|
||||
self.assertIn("platformVersion", self.caps)
|
||||
|
||||
self.assertEqual(self.caps["browserName"], self.appinfo["name"])
|
||||
self.assertEqual(self.caps["browserVersion"], self.appinfo["version"])
|
||||
self.assertEqual(self.caps["platformName"], self.appinfo["OS"].upper())
|
||||
self.assertEqual(self.caps["platformVersion"],
|
||||
self.appinfo["platformVersion"])
|
||||
|
@ -555,6 +555,7 @@ MarionetteServerConnection.prototype = {
|
||||
let caps = {
|
||||
// Mandated capabilities
|
||||
"browserName": appName,
|
||||
"browserVersion": Services.appinfo.version,
|
||||
"platformName": platformName,
|
||||
"platformVersion": Services.appinfo.platformVersion,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user