Bug 1391952 - Disable camel case lint for input and output. r?automatedtester
MozReview-Commit-ID: 5KargkSvSPn
--- a/testing/marionette/components/marionette.js
+++ b/testing/marionette/components/marionette.js
@@ -171,16 +171,17 @@ function MarionetteComponent() {
MarionetteComponent.prototype = {
classDescription: "Marionette component",
classID: MARIONETTE_CID,
contractID: MARIONETTE_CONTRACT_ID,
QueryInterface: XPCOMUtils.generateQI([
Ci.nsICommandLineHandler,
Ci.nsIMarionette,
]),
+ // eslint-disable-next-line camelcase
_xpcom_categories: [
{category: "command-line-handler", entry: "b-marionette"},
{category: "profile-after-change", service: true},
],
helpInfo: " --marionette Enable remote control server.\n",
};
// Handle -marionette flag
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -2058,17 +2058,17 @@ GeckoDriver.prototype.actionChain = asyn
* @throws {UnexpectedAlertOpenError}
* A modal dialog is open, blocking this operation.
*/
GeckoDriver.prototype.multiAction = async function(cmd, resp) {
assert.content(this.context);
assert.window(this.getCurrentWindow());
assert.noUserPrompt(this.dialog);
- let {value, max_length} = cmd.parameters;
+ let {value, max_length} = cmd.parameters; // eslint-disable-line camelcase
this.addFrameCloseListener("multi action chain");
await this.listener.multiAction(value, max_length);
};
/**
* Find an element using the indicated search strategy.
*
--- a/testing/marionette/reftest.js
+++ b/testing/marionette/reftest.js
@@ -288,16 +288,17 @@ min-width: 600px; min-height: 600px; max
logger.debug(`Canvas pool is of length ${canvasPool.length}`);
}
let result = {status, message, extra: {}};
if (screenshotData.length) {
// For now the tbpl formatter only accepts one screenshot, so just
// return the last one we took.
let lastScreenshot = screenshotData[screenshotData.length - 1];
+ // eslint-disable-next-line camelcase
result.extra.reftest_screenshots = lastScreenshot;
}
return result;
}
async compareUrls(win, lhsUrl, rhsUrl, relation, timeout) {
logger.info(`Testing ${lhsUrl} ${relation} ${rhsUrl}`);