Bug 1103196 - Mark specificationLevel capability as proprietary. r=automatedtester, a=test-only
authorAndreas Tolfsen <ato@mozilla.com>
Fri, 02 Dec 2016 07:45:00 -0500
changeset 352821 fd42bc259e210733cd90841768554fc53f39c0e5
parent 352820 c282ad416a40a47603ad4fa16f6bca5ab8589ae6
child 352822 c0e5bdc1b1efce3c40d3e8440be95eb5bafcaf23
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersautomatedtester, test-only
bugs1103196
milestone52.0a2
Bug 1103196 - Mark specificationLevel capability as proprietary. r=automatedtester, a=test-only 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
@@ -131,25 +131,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;