Skip to content

Commit

Permalink
Unbreak command line API
Browse files Browse the repository at this point in the history
  • Loading branch information
simonlindholm committed Jan 17, 2013
1 parent d0051cc commit d30eb7b
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions extension/content/firebug/console/commandLine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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);
}
};
}

Expand Down

0 comments on commit d30eb7b

Please sign in to comment.