Bug 1303043 - Fix toolbox HTML tooltips in devtools window host. r=Honza, a=ritu
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 16 Sep 2016 14:48:32 +0200
changeset 350324 40c40afc1ab74a9b207322e5aa9eb62dd19cadde
parent 350323 100c26355ce3ebb4825adf235ebc6b4f65a662fe
child 350325 c339f78c47138782709cb0a415bab14328b1286c
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersHonza, ritu
bugs1303043
milestone50.0
Bug 1303043 - Fix toolbox HTML tooltips in devtools window host. r=Honza, a=ritu MozReview-Commit-ID: 96LLMJngQOX
devtools/client/framework/toolbox-process-window.xul
devtools/client/framework/toolbox-window.xul
--- a/devtools/client/framework/toolbox-process-window.xul
+++ b/devtools/client/framework/toolbox-process-window.xul
@@ -36,10 +36,12 @@
   <!-- This will be used by the Web Console to hold any popups it may create,
        for example when viewing network request details. -->
   <popupset id="mainPopupSet"></popupset>
 
   <vbox id="error-message-container" hidden="true" flex="1">
     <box>&browserToolboxErrorMessage;</box>
     <textbox multiline="true" id="error-message" flex="1"></textbox>
   </vbox>
-  <iframe id="toolbox-iframe" flex="1"></iframe>
+
+  <tooltip id="aHTMLTooltip" page="true"/>
+  <iframe id="toolbox-iframe" flex="1" tooltip="aHTMLTooltip"></iframe>
 </window>
--- a/devtools/client/framework/toolbox-window.xul
+++ b/devtools/client/framework/toolbox-window.xul
@@ -37,10 +37,11 @@
          modifiers="accel,alt"
          disabled="true"/>
     <key id="toolbox-key-toggle-F12"
          keycode="&toggleToolboxF12.keycode;"
          keytext="&toggleToolboxF12.keytext;"
          command="toolbox-cmd-close"/>
   </keyset>
 
-  <iframe id="toolbox-iframe" flex="1" forceOwnRefreshDriver=""></iframe>
+  <tooltip id="aHTMLTooltip" page="true"/>
+  <iframe id="toolbox-iframe" flex="1" forceOwnRefreshDriver="" tooltip="aHTMLTooltip"></iframe>
 </window>