Skip to content

Event::ComposedPath doesn't handle this.currentTarget == null #1343

Open
@simonwuelker

Description

What is the issue with the DOM Standard?

Steps 4 and 5 of Event::composedPath say to

4. Let currentTarget be this’s currentTarget attribute value.
5. Append currentTarget to composedPath.

composedPath is a sequence<EventTarget>, but currentTarget is a EventTarget?, per the Event idl interface

It is unclear to me what should happen when currentTarget is null.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions