Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 4c6878259fc6ef09593b3017eef09afc3d188ffb 1 parent 0f52bbc
Jan Odvarko authored August 22, 2012
7  extension/content/firebug/firefox/browserOverlay.js
@@ -1308,6 +1308,13 @@ if (PrefLoader.getPref("allPagesActivation") == "on" || !PrefLoader.getPref("del
1308 1308
 {
1309 1309
     Firebug.GlobalUI.startFirebug(function()
1310 1310
     {
  1311
+        var browser = Firebug.Firefox.getBrowserForWindow(this);
  1312
+        var uri = Firebug.Firefox.getCurrentURI();
  1313
+
  1314
+        // Open Firebug UI (e.g. if the annotations say so, issue 5623)
  1315
+        if (uri && Firebug.TabWatcher.shouldCreateContext(browser, uri.spec, null))
  1316
+            Firebug.toggleBar(true);
  1317
+
1311 1318
         FBTrace.sysout("Firebug loaded by default since 'allPagesActivation' is on " +
1312 1319
             "or 'delayLoad' is false");
1313 1320
     });

0 notes on commit 4c68782

Please sign in to comment.
Something went wrong with that request. Please try again.