Bug 950729 - fix docstring error for flick, r=dburns
authorMalini Das <mdas@mozilla.com>
Tue, 17 Dec 2013 10:57:45 -0500
changeset 160826 b174a26880f58c02a727a3c66de5465967f0401a
parent 160825 0be09b04530270a93d1e9228ddb07ec39276b4e1
child 160827 f0779928477c2bfba1fb011b1e7f9d5cbe10f2c5
push id37717
push usermdas@mozilla.com
push dateTue, 17 Dec 2013 15:58:01 +0000
treeherdermozilla-inbound@b174a26880f5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdburns
bugs950729
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 950729 - fix docstring error for flick, r=dburns
testing/marionette/client/marionette/marionette.py
--- a/testing/marionette/client/marionette/marionette.py
+++ b/testing/marionette/client/marionette/marionette.py
@@ -320,19 +320,19 @@ class Actions(object):
         '''
         Performs a flick gesture on the target element.
 
         :param element: The element to perform the flick gesture on.
         :param x1: Starting x-coordinate of flick, relative to the top left
          corner of the element.
         :param y1: Starting y-coordinate of flick, relative to the top left
          corner of the element.
-        :param x1: Ending x-coordinate of flick, relative to the top left
+        :param x2: Ending x-coordinate of flick, relative to the top left
          corner of the element.
-        :param x1: Ending y-coordinate of flick, relative to the top left
+        :param y2: Ending y-coordinate of flick, relative to the top left
          corner of the element.
         :param duration: Time needed for the flick gesture for complete (in
          milliseconds).
         '''
         element = element.id
         elapsed = 0
         time_increment = 10
         if time_increment >= duration: