Bug 1316622 - Move Marionette harness tests to new timeouts API; r?whimboo
MozReview-Commit-ID: LXjifQ11xI4
--- 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`.