- From: <bugzilla@jessica.w3.org>
- Date: Thu, 24 Jan 2013 22:57:14 +0000
- To: public-audio@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20764
Bug ID: 20764
Summary: It makes no sense to use EventListener for
onaudioprocess if ScriptProcessorNode isn't
EventTarget
Classification: Unclassified
Product: AudioWG
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Web Audio API
Assignee: crogers@google.com
Reporter: bugs@pettay.fi
QA Contact: public-audio@w3.org
First, EventListener should not be used for onfoo handlers.
EventHandler is the right type (or in very special legacy cases
OnErrorEventHandler).
But more importantly, if ScriptProcessorNode isn't EventTarget dispatching
event to it isn't really possible, and the event wouldn't have any
.target.
So, either ScriptProcessorNode needs to become EventTarget somehow, and
get normal event handling, or the callback needs to not use Event objects.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 24 January 2013 22:57:16 UTC