Re: [whatwg/dom] document.createEvent() supports lots of events that most UAs do not support initializers for (#362)

@tkent-google has recently removed createEvent support for [WebKitAnimationEvent](https://bugs.chromium.org/p/chromium/issues/detail?id=711601) and [WebKitTransitionEvent](https://bugs.chromium.org/p/chromium/issues/detail?id=711600), which means there's no reason to keep AnimationEvent or TransitionEvent beyond their own usage.

Of the things mentioned in the first comment, these have so low usage that I think removal is likely to work out in Blink:
- [AnimationEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1162)
- [CloseEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1227)
- [ErrorEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1170)
- [IDBVersionChangeEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1201)
- [PageTransitionEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1174)
- [ProgressEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1177)
- [TrackEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1186)
- [WebGLContextEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1224)
- [PopStateEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1176)
- [BeforeUnloadEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1166)
- [WheelEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1184)

Those that would require some investigation are [FocusEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1171) and [TransitionEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1183).

As stated in https://github.com/whatwg/dom/issues/362#issuecomment-259532878, I'd also support removing [DragEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1169) and [HashChangeEvent](https://www.chromestatus.com/metrics/feature/timeline/popularity/1172) from the spec.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/362#issuecomment-295723397

Received on Thursday, 20 April 2017 12:44:39 UTC