You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Mike Stay (JIRA)" <ji...@apache.org> on 2009/10/01 20:58:23 UTC
[jira] Updated: (SHINDIG-1185) Wrap console.log instead of directly
exposing console
[ https://issues.apache.org/jira/browse/SHINDIG-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Stay updated SHINDIG-1185:
-------------------------------
Attachment: console.diff
The patch
> 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.