W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2012

Re: Potential WebKit bug when using JavaScriptAudioNode

From: Chris Rogers <crogers@google.com>
Date: Wed, 23 May 2012 18:17:17 -0700
Message-ID: <CA+EzO0mDcbuu-P=wzYnVQmYZ7z6-VL8NdR_96g-M6NwvN0hh8g@mail.gmail.com>
To: robert@ocallahan.org
Cc: Jussi Kalliokoski <jussi.kalliokoski@gmail.com>, Colin Sullivan <colin@colin-sullivan.net>, public-audio@w3.org
On Wed, May 23, 2012 at 5:06 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Thu, May 24, 2012 at 9:32 AM, Jussi Kalliokoski <
> jussi.kalliokoski@gmail.com> wrote:
>
>> I think this is because of garbage collection and it could be a bug
>> either way. You have no static references (e.g. global scope) to the
>> AudioContext or the nodes. That means that either the same buffer starting
>> to repeat is the intended behavior and the timeout just gives the nodes a
>> bit more lifetime, but the same behavior should occur after the timeout has
>> been reached. The other option is that the intended behavior is that
>> connected nodes aren't garbage collected. I'm not sure what is the current
>> wanted behavior. I also think this might be the same bug as this:
>> http://code.google.com/p/chromium/issues/detail?id=82795
>>
>
> A basic principle of Web API design is that GC doesn't affect application
> output. That probably means connected nodes must not be garbage collected.
>

Just to clarify, this is a bug and not part of the design.  We're working
on fixing it.

Chris


>
> Rob
> --
> “You have heard that it was said, ‘Love your neighbor and hate your
> enemy.’ But I tell you, love your enemies and pray for those who persecute
> you, that you may be children of your Father in heaven. ... If you love
> those who love you, what reward will you get? Are not even the tax
> collectors doing that? And if you greet only your own people, what are you
> doing more than others?" [Matthew 5:43-47]
>
>
Received on Thursday, 24 May 2012 01:17:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 May 2012 01:17:49 GMT