Bug 814641 - [toolbox] Panels appear behind the devtools window after undocking, r=paul
authorGirish Sharma <scrapmachines@gmail.com>
Sat, 22 Dec 2012 00:33:52 +0530
changeset 126684 97d131390b0be476a21b73e4e1c65ea0ffba4ee0
parent 126683 3ace1b79d62b34e0184dd5684fe75163d0a899f3
child 126685 eb2f66be4cc490052c8da3b5b676ed77747aab4a
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspaul
bugs814641
milestone20.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 814641 - [toolbox] Panels appear behind the devtools window after undocking, r=paul
browser/devtools/debugger/debugger-toolbar.js
browser/devtools/debugger/debugger.xul
--- a/browser/devtools/debugger/debugger-toolbar.js
+++ b/browser/devtools/debugger/debugger-toolbar.js
@@ -1051,16 +1051,17 @@ create({ constructor: FilteredSourcesVie
    * Initialization function, called when the debugger is started.
    */
   initialize: function DVFS_initialize() {
     dumpn("Initializing the FilteredSourcesView");
 
     let panel = this._panel = document.createElement("panel");
     panel.id = "filtered-sources-panel";
     panel.setAttribute("noautofocus", "true");
+    panel.setAttribute("level", "top");
     panel.setAttribute("position", FILTERED_SOURCES_POPUP_POSITION);
     document.documentElement.appendChild(panel);
 
     this._searchbox = document.getElementById("searchbox");
     this._container = new StackList(panel);
 
     this._container.itemFactory = this._createItemView;
     this._container.itemType = "vbox";
--- a/browser/devtools/debugger/debugger.xul
+++ b/browser/devtools/debugger/debugger.xul
@@ -233,16 +233,17 @@
                      tabindex="0"/>
       <toolbarbutton id="debugger-options"
                      class="devtools-option-toolbarbutton"
                      tooltiptext="&debuggerUI.optsButton.tooltip;"
                      popup="debuggerPrefsContextMenu"/>
     </toolbar>
 
     <panel id="searchbox-panel"
+           level="top"
            type="arrow"
            noautofocus="true"
            position="before_start">
       <vbox>
         <label class="description" value="&debuggerUI.searchPanelTitle;"/>
         <hbox align="center">
           <button id="global-operator-button" class="operator"
                   command="globalSearchCommand"/>
@@ -262,16 +263,17 @@
           <button id="variable-operator-button" class="operator"
                   command="variableSearchCommand"/>
           <label id="variable-operator-label" class="plain operator"/>
         </hbox>
       </vbox>
     </panel>
 
     <panel id="conditional-breakpoint-panel"
+           level="top"
            type="arrow"
            noautofocus="true"
            position="after_start">
       <vbox>
         <label class="description" value="&debuggerUI.condBreakPanelTitle;"/>
         <textbox id="conditional-breakpoint-textbox"/>
       </vbox>
     </panel>