Bug 1343947 - Let the developer toolbar be a fullscreentoolbar. r=miker
authorHenri Kemppainen <mozilla@guu.fi>
Wed, 30 Aug 2017 16:06:37 +0300
changeset 428355 62885cc89b1516d336e8a4263cde23846dfc3e71
parent 428354 13095b12824922a481850bf56fe208935d501083
child 428356 4206a927166082b493d5e2afe3a4dccfe4a7e707
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmiker
bugs1343947
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1343947 - Let the developer toolbar be a fullscreentoolbar. r=miker
devtools/client/shared/developer-toolbar.js
--- a/devtools/client/shared/developer-toolbar.js
+++ b/devtools/client/shared/developer-toolbar.js
@@ -221,16 +221,17 @@ Object.defineProperty(DeveloperToolbar.p
  */
 DeveloperToolbar.prototype.createToolbar = function () {
   if (this._element) {
     return;
   }
   let toolbar = this._doc.createElement("toolbar");
   toolbar.setAttribute("id", "developer-toolbar");
   toolbar.setAttribute("hidden", "true");
+  toolbar.setAttribute("fullscreentoolbar", "true");
 
   let close = this._doc.createElement("toolbarbutton");
   close.setAttribute("id", "developer-toolbar-closebutton");
   close.setAttribute("class", "close-icon");
   close.addEventListener("command", (event) => {
     this.hide();
   });
   let closeTooltip = L10N.getStr("toolbar.closeButton.tooltip");