From ed94af964a4ea2e3ed9ae0ac68ff0d1cce68485f Mon Sep 17 00:00:00 2001 From: Kriti Singh Date: Tue, 12 Mar 2019 21:42:31 +0000 Subject: [PATCH] Bug 1519053 - Set window handle for 'Switch To Window' also as 'handle'. r=whimboo Differential Revision: https://phabricator.services.mozilla.com/D23169 --HG-- extra : moz-landing-system : lando --- testing/geckodriver/src/marionette.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/geckodriver/src/marionette.rs b/testing/geckodriver/src/marionette.rs index 43ded7e2e5bd..66583e392cfc 100644 --- a/testing/geckodriver/src/marionette.rs +++ b/testing/geckodriver/src/marionette.rs @@ -1476,6 +1476,10 @@ impl ToMarionette for SwitchToWindowParameters { "name".to_string(), serde_json::to_value(self.handle.clone())?, ); + data.insert( + "handle".to_string(), + serde_json::to_value(self.handle.clone())?, + ); Ok(data) } }