Last Comment Bug 677876 - console.js in GCLI polutes the namespace more than it needs to
: console.js in GCLI polutes the namespace more than it needs to
Status: RESOLVED FIXED
[minotaur][best:1d, likely:1d, worst:1d]
:
Product: Firefox
Classification: Client Software
Component: Developer Tools (show other bugs)
: unspecified
: All All
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: J. Ryan Stinnett [:jryans] (use ni?)
Mentors:
Depends on:
Blocks: GCLI-JS
  Show dependency treegraph
 
Reported: 2011-08-10 04:32 PDT by Joe Walker [:jwalker] (needinfo me or ping on irc)
Modified: 2011-08-16 10:11 PDT (History)
0 users
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Joe Walker [:jwalker] (needinfo me or ping on irc) 2011-08-10 04:32:35 PDT
Should be:

var console = {};

(function() {
  ...
  console.log = ...;
  // etc
})();

Note You need to log in before you can comment on or make changes to this bug.