Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

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