bug 1492499: marionette: fix GeckoDriver#setWindowRect docs; r=automatedtester
authorAndreas Tolfsen <ato@sny.no>
Thu, 11 Oct 2018 16:10:28 +0000
changeset 443618 b95d40e31251c4c60e8ca5eca76accae3f8f22ef
parent 443617 c88acd1ac1b5869e83b257846a2542d6f1a3d8c8
child 443619 246b45eae45c12e0755be1665208309d2e9f4b6f
push id109420
push useraciure@mozilla.com
push dateWed, 31 Oct 2018 05:11:56 +0000
treeherdermozilla-inbound@b357da105c49 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersautomatedtester
bugs1492499
milestone65.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 1492499: marionette: fix GeckoDriver#setWindowRect docs; r=automatedtester Differential Revision: https://phabricator.services.mozilla.com/D8404
testing/marionette/driver.js
--- a/testing/marionette/driver.js
+++ b/testing/marionette/driver.js
@@ -1405,33 +1405,33 @@ GeckoDriver.prototype.getWindowRect = as
 
   return this.curBrowser.rect;
 };
 
 /**
  * Set the window position and size of the browser on the operating
  * system window manager.
  *
- * The supplied |width| and |height| values refer to the window outerWidth
- * and outerHeight values, which include browser chrome and OS-level
+ * The supplied `width` and `height` values refer to the window `outerWidth`
+ * and `outerHeight` values, which include browser chrome and OS-level
  * window borders.
  *
  * @param {number} x
  *     X coordinate of the top/left of the window that it will be
  *     moved to.
  * @param {number} y
  *     Y coordinate of the top/left of the window that it will be
  *     moved to.
  * @param {number} width
  *     Width to resize the window to.
  * @param {number} height
  *     Height to resize the window to.
  *
  * @return {Object.<string, number>}
- *     Object with |x| and |y| coordinates and |width| and |height|
+ *     Object with `x` and `y` coordinates and `width` and `height`
  *     dimensions.
  *
  * @throws {UnsupportedOperationError}
  *     Not applicable to application.
  * @throws {NoSuchWindowError}
  *     Top-level browsing context has been discarded.
  * @throws {UnexpectedAlertOpenError}
  *     A modal dialog is open, blocking this operation.