Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Unbreak command line API

  • Loading branch information...
commit d30eb7bed3f7fc85c7dd41d38279629eb8c6180f 1 parent d0051cc
@simonlindholm authored
Showing with 3 additions and 11 deletions.
  1. +3 −11 extension/content/firebug/console/commandLine.js
View
14 extension/content/firebug/console/commandLine.js
@@ -1400,9 +1400,9 @@ function CommandLineHandler(context, win)
if (FBTrace.DBG_COMMANDLINE)
{
- var win = context.baseWindow;
- FBTrace.sysout("commandLine.handleEvent('firebugExecuteCommand') " +
- "event in window " + (win && win.location), event);
+ FBTrace.sysout("commandLine.handleEvent() " +
+ (win && Dom.getMappedData(win.document, "firebug-methodName")) +
+ " window: " + Win.safeGetWindowLocation(win), {win: win, ev: event});
}
// Appends variables into the api.
@@ -1431,14 +1431,6 @@ function CommandLineHandler(context, win)
var methodName = Dom.getMappedData(win.document, "firebug-methodName");
Firebug.Console.log(Locale.$STRF("commandline.MethodNotSupported", [methodName]));
}
-
- if (FBTrace.DBG_COMMANDLINE)
- {
- var win = context.baseWindow;
- FBTrace.sysout("commandLine.handleEvent() " +
- Dom.getMappedData(win.document, "firebug-methodName") +
- " window: " + (win && win.location), win);
- }
};
}
Please sign in to comment.
Something went wrong with that request. Please try again.