Bug 1154432: Fix max_length parameter to multiAction command
authorAndreas Tolfsen <ato@mozilla.com>
Mon, 30 Nov 2015 15:20:05 +0000
changeset 309093 1ced6fa5afed1dac982e001cd169aa4d5a307fa7
parent 309092 9c017873382788da0e303f4b37dee54373305bfb
child 309094 7029581094a4edbd4e29158c84ab78dec5d273de
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1154432
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1154432: Fix max_length parameter to multiAction command The Python client sends a `max_length' command parameter to multiAction, but the Marionette server looks for `max_len'. This likely a regression from a refactor. r=dburns
testing/marionette/driver.js
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -1877,17 +1877,17 @@ GeckoDriver.prototype.actionChain = func
  */
 GeckoDriver.prototype.multiAction = function(cmd, resp) {
   switch (this.context) {
     case Context.CHROME:
       throw new WebDriverError("Command 'multiAction' is not available in chrome context");
 
     case Context.CONTENT:
       this.addFrameCloseListener("multi action chain");
-      yield this.listener.multiAction( cmd.parameters.value, cmd.parameters.max_len);
+      yield this.listener.multiAction(cmd.parameters.value, cmd.parameters.max_length);
       break;
   }
 };
 
 /**
  * Find an element using the indicated search strategy.
  *
  * @param {string} using