From 017325b653510c739d959b0e87b6ec0df611c8e6 Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Fri, 18 Aug 2017 18:29:47 +0100 Subject: [PATCH] Bug 1391691 - Rename GeckoDriver#fullscreen to fullscreenWindow. r=automatedtester The other window state manipulation commands are named minimizeWindow and maximizeWindow. MozReview-Commit-ID: IBVqJSRwG8x --HG-- extra : rebase_source : 29271a475a847ca15c1d8f736520b238c0818791 --- testing/marionette/driver.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/marionette/driver.js b/testing/marionette/driver.js index 28ce44d8e22c..cb959f83ecea 100644 --- a/testing/marionette/driver.js +++ b/testing/marionette/driver.js @@ -3147,7 +3147,7 @@ GeckoDriver.prototype.maximizeWindow = async function(cmd, resp) { * @throws {UnexpectedAlertOpenError} * A modal dialog is open, blocking this operation. */ -GeckoDriver.prototype.fullscreen = async function(cmd, resp) { +GeckoDriver.prototype.fullscreenWindow = async function(cmd, resp) { assert.firefox(); const win = assert.window(this.getCurrentWindow()); assert.noUserPrompt(this.dialog); @@ -3593,7 +3593,7 @@ GeckoDriver.prototype.commands = { "WebDriver:FindElement": GeckoDriver.prototype.findElement, "WebDriver:FindElements": GeckoDriver.prototype.findElements, "WebDriver:Forward": GeckoDriver.prototype.goForward, - "WebDriver:FullscreenWindow": GeckoDriver.prototype.fullscreen, + "WebDriver:FullscreenWindow": GeckoDriver.prototype.fullscreenWindow, "WebDriver:GetActiveElement": GeckoDriver.prototype.getActiveElement, "WebDriver:GetActiveFrame": GeckoDriver.prototype.getActiveFrame, "WebDriver:GetAlertText": GeckoDriver.prototype.getTextFromDialog, @@ -3653,7 +3653,7 @@ GeckoDriver.prototype.commands = { "executeScript": GeckoDriver.prototype.executeScript, "findElement": GeckoDriver.prototype.findElement, "findElements": GeckoDriver.prototype.findElements, - "fullscreen": GeckoDriver.prototype.fullscreen, + "fullscreen": GeckoDriver.prototype.fullscreenWindow, "getActiveElement": GeckoDriver.prototype.getActiveElement, "getActiveFrame": GeckoDriver.prototype.getActiveFrame, "getChromeWindowHandle": GeckoDriver.prototype.getChromeWindowHandle,