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 442874 14323b58a072c4e9db9486658779d56084e45df1
parent 442873 437a5c47d4065b6c2c2e93f453cdb5a47d256e56
child 442875 e0550f8e8c5d8e50bed0df65606c9f068bda6695
push id36854
push userbmo:ato@mozilla.com
push dateWed, 23 Nov 2016 13:38: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
@@ -174,10 +174,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`.