Wrap console.log instead of directly exposing console
-----------------------------------------------------
Key: SHINDIG-1185
URL: https://issues.apache.org/jira/browse/SHINDIG-1185
Project: Shindig
Issue Type: Bug
Components: Javascript
Reporter: Mike Stay
Priority: Minor
Attachments: console.diff
The console object provided by Firebug derives from a different frame's Object,
so it inherits none of the modifications to Object.prototype made by cajita.js.
Therefore, accessing a non-whitelisted property like console.debug throws an
exception rather than returning undefined. This change exposes a simple record
with a method that wraps console.log instead of the console object itself.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.