Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Avoid NPE

  • Loading branch information...
commit 6a58203889388f98f95362e66fecdc965f9f4eb4 1 parent bc42ce2
@janodvarko janodvarko authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 extension/content/firebug/js/scriptPanel.js
View
4 extension/content/firebug/js/scriptPanel.js
@@ -809,6 +809,10 @@ Firebug.ScriptPanel.prototype = Obj.extend(Firebug.SourceBoxPanel,
{
return Win.iterateBrowserWindows("navigator:browser", function(win)
{
+ // Firebug doesn't have to be loaded in every browser window (see delayed load).
+ if (!win.Firebug.TabWatcher)
+ return false;
+
return win.Firebug.TabWatcher.iterateContexts(function(context)
{
if (context.stopped)
Please sign in to comment.
Something went wrong with that request. Please try again.