Issue Task Closed

#71055Streamline usage of DebugConsole

Oliver Hader 10/26/15, 21:46 updated 10/21/17, 17:36

Description

Since the backend DebugConsole has been rewritten in jQuery, references to the old ExtJS variant can either be removed or adjusted to work with the new DebugConsole.

The general question is, whether the new DebugConsole shall implement the browser’s console interface in case the console object is not available, that would be (besides implementing DebugConsole.log()):
@
console: {
log: TYPO3.DebugConsole.log,
info: TYPO3.DebugConsole.log,
warn: TYPO3.DebugConsole.log,
error: TYPO3.DebugConsole.log
};
@

If fallback for a missing console object is not the goal of the jQuery DebugConsole, the remaining parts can be cleared up, e.g.
  • all mentions of TYPO3.Backend.DebugConsole (which does not exist anymore) with and without combination of Ext (ExtJs) stuff
  • console.addTab (see HTMLArea, referring to the old ExtJS component)
  • extDirectDebug (see PageRenderer)

Reviews 1