Bug 786619 - Infobar reappears on some conditions even in 3D mode. r=msucan
authorPaul Rouget <paul@mozilla.com>
Tue, 04 Sep 2012 16:59:15 +0200
changeset 104328 8518de3a9edf7d4147a61530629d89c19279269d
parent 104327 19450d9f0f4c252224806dcc01f1622c5b53a951
child 104329 8662609802b839cc1a29aa200d42a0a8019f6e1c
push id14464
push userryanvm@gmail.com
push dateWed, 05 Sep 2012 21:52:38 +0000
treeherdermozilla-inbound@013743bb609e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmsucan
bugs786619
milestone18.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 786619 - Infobar reappears on some conditions even in 3D mode. r=msucan
browser/devtools/highlighter/highlighter.jsm
--- a/browser/devtools/highlighter/highlighter.jsm
+++ b/browser/devtools/highlighter/highlighter.jsm
@@ -143,17 +143,18 @@ Highlighter.prototype = {
 
     // The controlsBox will host the different interactive
     // elements of the highlighter (buttons, toolbars, ...).
     let controlsBox = this.chromeDoc.createElement("box");
     controlsBox.id = "highlighter-controls";
     this.highlighterContainer.appendChild(outlineContainer);
     this.highlighterContainer.appendChild(controlsBox);
 
-    stack.appendChild(this.highlighterContainer);
+    // Insert the highlighter right after the browser
+    stack.insertBefore(this.highlighterContainer, stack.childNodes[1]);
 
     this.buildInfobar(controlsBox);
 
     this.transitionDisabler = null;
     this.pageEventsMuter = null;
 
     this.unlock();