Make type required for legacy init methods for UIEvents.
The KeyboardEvent was done with issue 692703 a few years ago and encountered no issues. This matches Gecko's definition. Upon analysis of httparchive data. (Feb 01 2020 desktop data). initUIEvent 6455 - Total 3765 - Flowplayer OK 253 - Photoswipe - OK 172 - Autoptimize - (contains flowplayer) - OK 121 - Mjl.js - OK 158 - doofinder - OK 178 - Ink.min.js - OK 122 - oxWbTabs - OK initCompositionEvent - No real usage I could detect. Queries returned _initCompositionEvent which is defined for a JS editor. initMouseEvent 1196 - total 839 - funcript - OK 121 - mjl.js - OK 19 - webcomponents - polymer used a version of it - OK 8 - au/event.js - yahoo - was comment only - OK BUG=692720 Change-Id: I5a5a5a9ca8cbdb97b9f7c42ee545b73ee17fe3aa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2109818Reviewed-by:Philip Jägenstedt <foolip@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#753285}
Showing
Please register or sign in to comment