Permalink
Browse files

Missing dep, wrong condition, typo (related to issue 5866)

  • Loading branch information...
1 parent aa8b8b1 commit d07d33723967309a02238c5f743ec6153f8211fd @janodvarko janodvarko committed Aug 27, 2012
Showing with 5 additions and 4 deletions.
  1. +4 −3 extension/content/firebug/console/functionMonitor.js
  2. +1 −1 extension/modules/firebug-service.js
@@ -9,8 +9,9 @@ define([
"firebug/lib/events",
"firebug/lib/css",
"firebug/lib/dom",
+ "firebug/lib/url",
],
-function(FBTrace, Obj, Domplate, Reps, StackFrame, Events, Css, Dom) { with (Domplate) {
+function(FBTrace, Obj, Domplate, Reps, StackFrame, Events, Css, Dom, Url) { with (Domplate) {
// ********************************************************************************************* //
// Function Monitor
@@ -49,11 +50,11 @@ var FunctionMonitor = Obj.extend(Firebug.Module,
//var sourceFile = context.sourceFileMap[url];
// Firebug.errorStackTrace = StackFrame.getCorrectedStackTrace(frame, context);
//var sourceFile = Firebug.SourceFile.getSourceFileByScript(context, frame.script);
- if (!Url.isSystemURL(Url.normalizeURL(frame.script.fileName)))
+ if (Url.isSystemURL(Url.normalizeURL(frame.script.fileName)))
return;
// xxxHonza: traceCall and traceCallAll need to be fixed yet.
- FBTrace.sysout("console.onFunctionCall; ", sourceFile);
+ FBTrace.sysout("functionMonitor.onFunctionCall; ", sourceFile);
if (calling)
Firebug.Console.openGroup([frame, "depth:" + depth], context);
@@ -4043,7 +4043,7 @@ var fbs =
// stack empty
if (unhookAtBottom && hookFrameCount == 0)
- this.unhookFunctions();
+ fbs.unhookFunctions();
contextCached = callBack(contextCached, frame, hookFrameCount, false);
break;

0 comments on commit d07d337

Please sign in to comment.