You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by John Hjelmstad <fa...@google.com> on 2009/10/21 01:55:30 UTC

Re: [jira] Commented: (SHINDIG-1202) Exceptions thrown in js Shindig code

Hey Pamela:
I'll follow up w/ you on that separately; the JIRA tracker is for tracking
just the open source development pieces; @Google mailing lists will follow
our use.

On Tue, Oct 20, 2009 at 4:53 PM, Pamela Fox (JIRA) <ji...@apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/SHINDIG-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768017#action_12768017]
>
> Pamela Fox commented on SHINDIG-1202:
> -------------------------------------
>
> Great, do you know when this would make it to the Google gadgets server? We
> have Wave developers waiting on the fix. Thanks!
>
> > Exceptions thrown in js Shindig code
> > ------------------------------------
> >
> >                 Key: SHINDIG-1202
> >                 URL: https://issues.apache.org/jira/browse/SHINDIG-1202
> >             Project: Shindig
> >          Issue Type: Bug
> >          Components: Javascript
> >         Environment: Safari, Chrome (Mac, Win, Linux)
> >            Reporter: Vadim Gerasimov
> >             Fix For: 1.1-BETA4
> >
> >
> > The following code throws "Uncaught TypeError: Illegal invocation"
> exception in gadgets running in Safari and Chrome. Other browsers are not
> affected. In some cases the gadgets stop working after the exception.
> > ...
> > gadgets.log.logAtLevel = function(level, message) {
> >  if (level < gadgets.log.logLevelThreshold_ || !window.console) {
> >    return;
> >  }
> >  var logger = window.console.log;
> >  if (level == gadgets.log.WARNING && window.console.warn) {
> >    logger = window.console.warn;
> >  } else if (level == gadgets.log.ERROR && window.console.error) {
> >    logger = window.console.error;
> >  }
> >  logger(message); // **** Exception here ****
> > };
> > ...
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>