Closed Bug 677876 Opened 10 years ago Closed 10 years ago

console.js in GCLI polutes the namespace more than it needs to

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jwalker, Unassigned)

References

Details

(Whiteboard: [minotaur][best:1d, likely:1d, worst:1d])

Should be:

var console = {};

(function() {
  ...
  console.log = ...;
  // etc
})();
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.