[Pkg-mozext-commits] [firebug] 01/02: Issue 6043: Firebug icon disappears from add-on bar; cannot access firebug any other way

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:44 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag firebug-1.10.6
in repository firebug.

commit 77093e782aa7b3984b56a5129f6f5a79aaa77dcb
Author: Jan Odvarko <odvarko at gmail.com>
Date:   Wed Oct 31 13:52:58 2012 +0100

    Issue 6043: 	Firebug icon disappears from add-on bar; cannot access firebug any other way
---
 extension/bootstrap.js | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/extension/bootstrap.js b/extension/bootstrap.js
index 94ef5cd..0628f11 100644
--- a/extension/bootstrap.js
+++ b/extension/bootstrap.js
@@ -128,18 +128,15 @@ var windowWatcher =
     QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver]),
     observe: function windowWatcher(win, topic, data)
     {
-        if (win.location.href !== "about:blank")
-        {
-            // https://bugzil.la/795961 ?
-            win.addEventListener("load", function onLoad(evt)
-            { 
-                // load listener not necessary once https://bugzil.la/800677 is fixed
-                var win = evt.currentTarget;
-                win.removeEventListener("load", onLoad, false);
-                if (win.document.documentElement.getAttribute("windowtype") == "navigator:browser")
-                    FirebugLoader.loadIntoWindow(win);
-            }, false);
-        }
+        // https://bugzil.la/795961 ?
+        win.addEventListener("load", function onLoad(evt)
+        { 
+            // load listener not necessary once https://bugzil.la/800677 is fixed
+            var win = evt.currentTarget;
+            win.removeEventListener("load", onLoad, false);
+            if (win.document.documentElement.getAttribute("windowtype") == "navigator:browser")
+                FirebugLoader.loadIntoWindow(win);
+        }, false);
     }
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git



More information about the Pkg-mozext-commits mailing list