Bug 1103196 - Mark specificationLevel capability as proprietary; r?automatedtester draft
authorAndreas Tolfsen <ato@mozilla.com>
Tue, 01 Nov 2016 17:59:51 +0000
changeset 439895 e829f477cd7c29c545a77084ace78ff9cabb1ac0
parent 439894 3a29aac8c2854c919d8d2b5ea427bf37eb475ed5
child 439896 9f9a1e53e925693ad9cbfc6df1c45db17b5f973f
push id36117
push userbmo:ato@mozilla.com
push dateWed, 16 Nov 2016 18:26:33 +0000
reviewersautomatedtester
bugs1103196
milestone53.0a1
Bug 1103196 - Mark specificationLevel capability as proprietary; r?automatedtester The `specificationLevel` capability has been removed from the WebDriver specification, and will be removed in a future change to Marionette. This change makes this clear by moving it down to the list of proprietary Marionette capabilities. MozReview-Commit-ID: BMTuXBDZ8WV
testing/marionette/driver.js
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -130,30 +130,30 @@ this.GeckoDriver = function(appName, ser
   this.actions = new action.Chain();
 
   this.sessionCapabilities = {
     // mandated capabilities
     "browserName": Services.appinfo.name.toLowerCase(),
     "browserVersion": Services.appinfo.version,
     "platformName": Services.sysinfo.getProperty("name").toLowerCase(),
     "platformVersion": Services.sysinfo.getProperty("version"),
-    "specificationLevel": 0,
 
     // supported features
     "raisesAccessibilityExceptions": false,
     "rotatable": this.appName == "B2G",
     "acceptSslCerts": false,
     "takesElementScreenshot": true,
     "takesScreenshot": true,
     "proxy": {},
 
     // Selenium 2 compat
     "platform": Services.sysinfo.getProperty("name").toUpperCase(),
 
     // proprietary extensions
+    "specificationLevel": 0,
     "XULappId" : Services.appinfo.ID,
     "appBuildId" : Services.appinfo.appBuildID,
     "processId" : Services.appinfo.processID,
     "version": Services.appinfo.version,
   };
 
   this.mm = globalMessageManager;
   this.listener = proxy.toListener(() => this.mm, this.sendAsync.bind(this));