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
--- 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));