Bug 1103196 - Mark specificationLevel capability as proprietary; r=automatedtester
authorAndreas Tolfsen <ato@mozilla.com>
Tue, 01 Nov 2016 17:59:51 +0000
changeset 324337 ae960fe256d5bad7509b3eb0719daf703043c1aa
parent 324336 64b29e13e60f0468d041fa4148e6d1fc1613364f
child 324338 e2992871780282f60e087bcd4ac01ea06400abb8
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11: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
@@ -133,25 +133,25 @@ this.GeckoDriver = function(appName, ser
   this._browserIds = new WeakMap();
 
   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,
     "proxy": {},
 
     // proprietary extensions
+    "specificationLevel": 0,
     "processId" : Services.appinfo.processID,
   };
 
   this.mm = globalMessageManager;
   this.listener = proxy.toListener(() => this.mm, this.sendAsync.bind(this));
 
   // always keep weak reference to current dialogue
   this.dialog = null;