The issue of ScriptProcessorNode not being an EventTarget

Olli filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=20764 a few
minutes ago.  This is a bug that I hit when I was trying to implement
ScriptProcessorNode.  Basically, as things stand, ScriptProcessorNode is
not implementable in Gecko without the sort of hacks which WebKit seems to
be going through, and we would really like to avoid that.

It look like the best way to deal with this is to make AudioNode inherit
from EventTarget, and make onaudioprocess an EventHandler.

This is currently very high priority for the Gecko implementation since we
are on the verge of landing initial audio playback support, and we need to
implement ScriptProcessorNode as a way to test the ongoing work on the
audio playback support.

Chris, I'd appreciate if you could please take a look into this and address
this issue at the spec level.  It's sort of a big change, so I don't want
to just assume things and proceed on the implementation side.

Thanks!
--
Ehsan
<http://ehsanakhgari.org/>

Received on Thursday, 24 January 2013 23:50:20 UTC