Bug 1460663 - Add attributes to the webconsole html tag to support size persistence when the html window is top-level;r=bdahl draft
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 10 May 2018 09:42:12 -0700
changeset 793706 7facc915d8c277f13f412a2ef08281114445e3a3
parent 793594 b52b2eb81d1e52d259d55d948281c7f6ddf1270c
push id109474
push userbgrinstead@mozilla.com
push dateThu, 10 May 2018 16:43:28 +0000
reviewersbdahl
bugs1460663
milestone62.0a1
Bug 1460663 - Add attributes to the webconsole html tag to support size persistence when the html window is top-level;r=bdahl MozReview-Commit-ID: ICQuk9PNYgu
devtools/client/webconsole/webconsole.html
--- a/devtools/client/webconsole/webconsole.html
+++ b/devtools/client/webconsole/webconsole.html
@@ -1,15 +1,17 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <!DOCTYPE html>
 <html dir=""
+      id="devtools-webconsole"
       windowtype="devtools:webconsole"
-      width="900" height="350">
+      width="900" height="350"
+      persist="screenX screenY width height sizemode">
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
     <link rel="stylesheet" href="chrome://devtools/skin/widgets.css"/>
     <link rel="stylesheet" href="chrome://devtools/skin/webconsole.css"/>
     <link rel="stylesheet" href="chrome://devtools/skin/components-frame.css"/>
     <link rel="stylesheet" href="resource://devtools/client/shared/components/reps/reps.css"/>
     <link rel="stylesheet" href="resource://devtools/client/shared/components/tabs/Tabs.css"/>
     <link rel="stylesheet" href="resource://devtools/client/shared/components/tabs/TabBar.css"/>