DescriptionLimit document.createEvent to existing events
Since https://codereview.chromium.org/1673243002 a number of event
interfaces have been added that are also supported in createEvent:
InputEvent: https://codereview.chromium.org/1682683002
ForeignFetchEvent: https://codereview.chromium.org/1845463002
PaymentRequestUpdateEvent: https://codereview.chromium.org/1931233002
SensorErrorEvent+SensorReadingEvent: https://codereview.chromium.org/1942663003
It doesn't make sense to continue expanding document.createEvent for
event interfaces which have no init*Event() methods, so limit support to
the existing set and hope to converge with spec and others over time.
This does not change the generated Event.cpp or EventModules.cpp.
BUG=569690
Committed: https://crrev.com/62d73936675d1e11d91dd6174a37856584345b47
Cr-Commit-Position: refs/heads/master@{#409788}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 17 (10 generated)
|