Skip to content

It makes no sense to use EventListener for onaudioprocess if ScriptProcessorNode isn't EventTarget #116

Closed
@olivierthereaux

Description

@olivierthereaux

Originally reported on W3C Bugzilla ISSUE-20764 Thu, 24 Jan 2013 22:57:14 GMT
Reported by Olli Pettay
Assigned to

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions