fixup! Bug 1404946 - Add markup to wait.until's docs. r?whiimboo draft
authorAndreas Tolfsen <ato@sny.no>
Mon, 02 Oct 2017 17:07:13 +0100
changeset 673436 7bc5480eb08346cc50dcc6cb1261ebba735d10e1
parent 673435 dffc9b4ac50e1e2257b04397c30021499840c643
child 673437 202f523c081e1ba8b8f1185a63681e39e7566253
push id82580
push userbmo:ato@sny.no
push dateMon, 02 Oct 2017 16:15:39 +0000
reviewerswhiimboo
bugs1404946
milestone58.0a1
fixup! Bug 1404946 - Add markup to wait.until's docs. r?whiimboo
testing/marionette/sync.js
--- a/testing/marionette/sync.js
+++ b/testing/marionette/sync.js
@@ -61,21 +61,21 @@ const {TYPE_ONE_SHOT, TYPE_REPEATING_SLA
  *       } else {
  *         reject([]);
  *       }
  *     });
  * </pre></code>
  *
  * @param {Condition} func
  *     Function to run off the main thread.
- * @param {number=} timeout
+ * @param {number=} [timeout=2000] timeout
  *     Desired timeout.  If 0 or less than the runtime evaluation
  *     time of <var>func</var>, <var>func</var> is guaranteed to run
  *     at least once.  The default is 2000 milliseconds.
- * @param {number=} interval
+ * @param {number=} [interval=10] interval
  *     Duration between each poll of <var>func</var> in milliseconds.
  *     Defaults to 10 milliseconds.
  *
  * @return {Promise.<*>}
  *     Yields the value passed to <var>func</var>'s
  *     <code>resolve</code> or <code>reject</code> callbacks.
  *
  * @throws {*}