Skip to content

Clearly specify initUIEvent #133

@dtapuska

Description

@dtapuska

Since initUIEvent probably isn't going away anytime soon. It should be clearly documented with respect to its arguments instead of its current specification of no arguments.

It is present in multiple browsers according to MDN; https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/initUIEvent

We need to decide what the actual specified behavior is:

Chromium has this:
void initUIEvent([Default=Undefined] optional DOMString type,
[Default=Undefined] optional boolean bubbles,
[Default=Undefined] optional boolean cancelable,
[Default=Undefined] optional Window? view,
[Default=Undefined] optional long detail);

But it identifies that all the values should not be optional. We need to figure out what other vendors have.

@garykac @foolip @smaug----

Metadata

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