Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Issue 5623: New pref to disable/enable delayed Firebug load

  • Loading branch information...
commit ac22aaebad36b6717043056f00cad171b8ab56c8 1 parent 92799eb
Jan Odvarko janodvarko authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 extension/content/firebug/firefox/browserOverlay.js
7 extension/content/firebug/firefox/browserOverlay.js
View
@@ -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");
});
Please sign in to comment.
Something went wrong with that request. Please try again.