Bug 1316622 - Move Marionette harness tests to new timeouts API; r=whimboo
authorAndreas Tolfsen <ato@mozilla.com>
Thu, 10 Nov 2016 21:04:20 +0000
changeset 323985 e3acbc950e1ca302f02a1ac058ff633e0c5a1d5a
parent 323984 97f78abeb92c70190d1f0947b271bf9bb67d7dbe
child 323986 509ad050bea4d5758c60e4c88540738dbca3e243
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +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`.