Bug 1316622 - Move Marionette harness tests to new timeouts API; r?whimboo draft
authorAndreas Tolfsen <ato@mozilla.com>
Thu, 10 Nov 2016 21:04:20 +0000
changeset 439750 8fbc95ded06b901d0095c1106cc0b432ee12d944
parent 439749 3b3b0a2fbf717e6f18601d0ab07afe93e57ae425
child 439751 1a2f87c3be3e2f09255a980be94af9ac11d206aa
push id36080
push userbmo:ato@mozilla.com
push dateWed, 16 Nov 2016 15:23:54 +0000
reviewerswhimboo
bugs1316622
milestone53.0a1
Bug 1316622 - Move Marionette harness tests to new timeouts API; r?whimboo MozReview-Commit-ID: LXjifQ11xI4
testing/marionette/harness/docs/basics.rst
--- a/testing/marionette/harness/docs/basics.rst
+++ b/testing/marionette/harness/docs/basics.rst
@@ -176,10 +176,10 @@ The async method works the same way, exc
        setTimeout(function() {
          marionetteScriptFinished("all done");
        }, arguments[0]);
    """, script_args=[1000])
    assert result == "all done"
 
 Beware that running asynchronous scripts can potentially hang the program
 indefinitely if they are not written properly. It is generally a good idea to
-set a script timeout using :func:`~Marionette.set_script_timeout` and handling
+set a script timeout using :func:`~Marionette.timeout.script` and handling
 `ScriptTimeoutException`.