Bug 1440577 - Changed 'eAttemptQuit' occurrences in docstring to 'eForceQuit' draft
authorAlvaroRe <arb952@gmail.com>
Tue, 10 Apr 2018 18:11:08 +0200
changeset 779780 6e93ffcef5675c8bc97f8560fe4e2e43d8589f4d
parent 759182 ad3c6f89d67752309a473e57a47fb88f9da37683
child 779781 51455d3ab3d69250dd636494c3c24557a9d11dfa
push id105877
push userbmo:arb952@gmail.com
push dateTue, 10 Apr 2018 16:20:15 +0000
bugs1440577
milestone60.0a1
Bug 1440577 - Changed 'eAttemptQuit' occurrences in docstring to 'eForceQuit' MozReview-Commit-ID: KEwEg7AK7yu
testing/marionette/client/marionette_driver/marionette.py
--- a/testing/marionette/client/marionette_driver/marionette.py
+++ b/testing/marionette/client/marionette_driver/marionette.py
@@ -1006,25 +1006,25 @@ class Marionette(object):
             # Restore the context as used before the restart
             self.set_context(context)
 
     def _request_in_app_shutdown(self, *shutdown_flags):
         """Attempt to quit the currently running instance from inside the
         application.
 
         Duplicate entries in `shutdown_flags` are removed, and
-        `"eAttemptQuit"` is added if no other `*Quit` flags are given.
+        `"eForceQuit"` is added if no other `*Quit` flags are given.
         This provides backwards compatible behaviour with earlier
         Firefoxen.
 
         This method effectively calls `Services.startup.quit` in Gecko.
         Possible flag values are listed at http://mzl.la/1X0JZsC.
 
         :param shutdown_flags: Optional additional quit masks to include.
-            Duplicates are removed, and `"eAttemptQuit"` is added if no
+            Duplicates are removed, and `"eForceQuit"` is added if no
             flags ending with `"Quit"` are present.
 
         :throws InvalidArgumentException: If there are multiple
             `shutdown_flags` ending with `"Quit"`.
 
         :returns: The cause of shutdown.
         """