[Pkg-mozext-commits] [firebug] 19/28: Issue 5623: New pref to disable/enable delayed Firebug load
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:46:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag firebug-1.10.3
in repository firebug.
commit ac22aaebad36b6717043056f00cad171b8ab56c8
Author: Jan Odvarko <odvarko at gmail.com>
Date: Wed Aug 22 10:57:31 2012 +0200
Issue 5623: New pref to disable/enable delayed Firebug load
---
extension/content/firebug/firefox/browserOverlay.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/extension/content/firebug/firefox/browserOverlay.js b/extension/content/firebug/firefox/browserOverlay.js
index e83c57c..8e840b4 100644
--- a/extension/content/firebug/firefox/browserOverlay.js
+++ b/extension/content/firebug/firefox/browserOverlay.js
@@ -1308,6 +1308,13 @@ if (PrefLoader.getPref("allPagesActivation") == "on" || !PrefLoader.getPref("del
{
Firebug.GlobalUI.startFirebug(function()
{
+ var browser = Firebug.Firefox.getBrowserForWindow(this);
+ var uri = Firebug.Firefox.getCurrentURI();
+
+ // Open Firebug UI (e.g. if the annotations say so, issue 5623)
+ if (uri && Firebug.TabWatcher.shouldCreateContext(browser, uri.spec, null))
+ Firebug.toggleBar(true);
+
FBTrace.sysout("Firebug loaded by default since 'allPagesActivation' is on " +
"or 'delayLoad' is 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