Bug 1381347 - Use deprecated quitApplication command in Marionette client; r?whimboo draft
authorAndreas Tolfsen <ato@sny.no>
Mon, 17 Jul 2017 20:19:30 +0100
changeset 609915 3fc8bf8bbe41b27cbdf46e85aafd0b9aebdd342b
parent 609865 e0b0865639cebc1b5afa0268a4b073fcdde0e69c
child 637722 4a66c70606c6a8145fb396a2300c04e95f5cef0d
push id68738
push userbmo:ato@sny.no
push dateMon, 17 Jul 2017 19:21:27 +0000
reviewerswhimboo
bugs1381347
milestone56.0a1
Bug 1381347 - Use deprecated quitApplication command in Marionette client; r?whimboo Firefox update tests will break if we do not use the `quitApplication' command, since the `quit' command is not available in Firefox 53. MozReview-Commit-ID: KJoCPBh9NKh
testing/marionette/client/marionette_driver/marionette.py
--- a/testing/marionette/client/marionette_driver/marionette.py
+++ b/testing/marionette/client/marionette_driver/marionette.py
@@ -1054,17 +1054,17 @@ class Marionette(object):
             if canceled:
                 raise errors.MarionetteException(
                     "Something cancelled the quit application request")
 
         body = None
         if len(flags) > 0:
             body = {"flags": list(flags)}
 
-        self._send_message("quit", body)
+        self._send_message("quitApplication", body)
 
     @do_process_check
     def quit(self, clean=False, in_app=False, callback=None):
         """Terminate the currently running instance.
 
         This command will delete the active marionette session. It also allows
         manipulation of eg. the profile data while the application is not running.
         To start the application again, :func:`start_session` has to be called.