Bug 581813 - Firefox with Tab Candy caused the Title and Tab Bars or the Menu and Tab Bars to appear black in colour

This commit is contained in:
Ehsan Akhgari 2010-08-11 14:10:18 -04:00
parent 3fefad5aab
commit defaa60f95

View File

@ -37,6 +37,7 @@
let TabView = {
_deck: null,
_window: null,
_iframe: null,
_sessionstore: null,
_visibilityID: "tabview-visibility",
@ -80,6 +81,7 @@ let TabView = {
iframe.setAttribute("src", "chrome://browser/content/tabview.html");
this._deck.appendChild(iframe);
this._iframe = iframe;
this._window = iframe.contentWindow;
// ___ visibility storage handler
@ -109,6 +111,7 @@ let TabView = {
return;
this._initFrame(function() {
iQ(this._iframe).show();
let event = document.createEvent("Events");
event.initEvent("tabviewshow", false, false);
dispatchEvent(event);
@ -120,6 +123,7 @@ let TabView = {
if (!this.isVisible())
return;
iQ(this._iframe).hide();
let event = document.createEvent("Events");
event.initEvent("tabviewhide", false, false);
dispatchEvent(event);