You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Paul Lindner (JIRA)" <ji...@apache.org> on 2009/10/15 02:11:31 UTC

[jira] Resolved: (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 ]

Paul Lindner resolved SHINDIG-1185.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1-BETA4

lgtm


> 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
>             Fix For: 1.1-BETA4
>
>         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.