New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 692720 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 674593


Show other hotlists

Hotlists containing this issue:
Non-Standard-IDL


Sign in to add a comment

Standardize (or remove) UIEvent#initUIEvent() with arguments

Project Member Reported by lunalu@chromium.org, Feb 15 2017

Issue description

It has been deprecated in the spec, https://w3c.github.io/uievents/#idl-interface-UIEvent-initializers

We should match the spec by removing this API.
 

Comment 1 by tkent@chromium.org, Feb 17 2017

Components: -Blink>DOM>Events Blink>Input

Comment 2 by rbyers@chromium.org, Feb 17 2017

Cc: dtapu...@chromium.org rbyers@chromium.org foolip@chromium.org markdittmer@chromium.org
UseCounter data is hovering around 0.03% of pages: https://www.chromestatus.com/metrics/feature/timeline/popularity/873

I _think_ that makes deprecation/removal pretty unlikely (but we could do some research to verify).

Luna, from my perspective the "deprecated" warnings in specs don't really mean much for implementations.  If the IDL is still in the spec at all, then us shipping the API probably isn't a bug.  Why is the IDL tool flagging cases like this?

Comment 3 by rbyers@chromium.org, Feb 17 2017

IMHO the only reason to mark an API deprecated in a spec is to discourage developers from using it for new things.  Thought I guess it's a good idea to at least ensure we have UseCounters for every spec-deprecated API and ask the question: "is this something that could make sense to remove?".

Comment 4 by foolip@chromium.org, Feb 21 2017

Summary: Standardize (or remove) UIEvent#initUIEvent() with arguments (was: Deprecate UIEvent#initUIEvent)
The spec doesn't actually define the arguments of initUIEvent(). I'll change the issue title to favor standardizing it while keeping the door open for other outcomes.
Owner: garykac@chromium.org
Status: Assigned (was: Untriaged)
Opened issue https://github.com/w3c/uievents/issues/133.

Assigning to Gary. Feel free to close this issue if the spec issue is now open.

Comment 6 by lunalu@chromium.org, Feb 21 2017

rbyers, the idl tool link to the spec at https://w3c.github.io/uievents/

Where only three top-level-attributes are included:
detail, view, and sourceCapabilities, which is why initUiEvent was captured as a non-standard API.

markdittmer, could you please look into this?

Thanks
Labels: Hotlist-Interop

Sign in to add a comment