Bug 1391691 - Export WindowState properly. r=automatedtester draft
authorAndreas Tolfsen <ato@sny.no>
Mon, 21 Aug 2017 14:08:44 +0100
changeset 650440 f835504765e7af521bb65b3035548a95885da8e1
parent 650424 eb72c8c077518c3fdc0dca5c0a14070bd25fe3cb
child 650441 a1efaf7cf2a5c068b62c60453b1f8814d34b043b
push id75393
push userbmo:ato@sny.no
push dateTue, 22 Aug 2017 11:04:53 +0000
reviewersautomatedtester
bugs1391691
milestone57.0a1
Bug 1391691 - Export WindowState properly. r=automatedtester MozReview-Commit-ID: CNev3JIWJAt
testing/marionette/browser.js
--- a/testing/marionette/browser.js
+++ b/testing/marionette/browser.js
@@ -456,17 +456,17 @@ browser.Windows = class extends Map {
 
 // TODO(ato): Move this to testing/marionette/wm.js
 // after https://bugzil.la/1311041
 /**
  * Marionette representation of the {@link ChromeWindow} window state.
  *
  * @enum {string}
  */
-const WindowState = {
+this.WindowState = {
   Maximized: "maximized",
   Minimized: "minimized",
   Normal: "normal",
   Fullscreen: "fullscreen",
 
   /**
    * Converts {@link nsIDOMChromeWindow.windowState} to WindowState.
    *