gecko-dev/dom/interfaces/events
Aryeh Gregor af57d2df0f Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug
Other browsers do not support any of these (IIRC), telemetry reports
essentially zero usage, and supporting them is contrary to the DOM spec.

Notes on specific events:

CommandEvent and SimpleGestureEvent: These are not supposed to be
web-exposed APIs, so I hid the interfaces from web content too
(necessary to avoid test_all_synthetic_events.html failures).

DataContainerEvent: This was a non-standard substitute for CustomEvent
that seemed to have only one user, so I removed it entirely and switched
the user (MozillaFileLogger.js) to CustomEvent.

ScrollAreaEvent: This is entirely non-standard, but we apparently expose
it deliberately to web content, so I didn't see any reason to remove it
from createEvent.

SimpleGestureEvent and XULCommandEvent: Can still be created from
createEvent(), but not by content.

TimeEvent: This is still in because it has no constructor, so there's no
other way to create it.  Ideally we'd update the SMIL spec to add a
constructor.  I did remove TimeEvents.

MozReview-Commit-ID: 7Yi2oCl9SM2

--HG--
extra : rebase_source : 199ab921acfc531b8b85e77f90fcd799b03c887b
2017-04-20 15:45:37 +03:00
..
moz.build Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug 2017-04-20 15:45:37 +03:00
nsIDOMAnimationEvent.idl Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug 2016-01-12 07:49:08 +03:30
nsIDOMBeforeUnloadEvent.idl Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug 2016-01-12 07:49:08 +03:30
nsIDOMClipboardEvent.idl Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug 2016-01-12 07:49:08 +03:30
nsIDOMCommandEvent.idl Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug 2016-01-12 07:49:08 +03:30
nsIDOMCustomEvent.idl
nsIDOMDataTransfer.idl Bug 1317599. Get rid of LegacyIsCallerChromeOrNativeCode use in datatransfer code. r=mystor 2016-11-15 12:46:32 -05:00
nsIDOMDragEvent.idl Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsIDOMEvent.idl Bug 1298970 - Move UIEvent.cancelBubble to Event. r=smaug 2016-11-29 10:28:21 +08:00
nsIDOMEventListener.idl
nsIDOMEventTarget.idl Bug 1305458 Part2: Add nsIDOMEventTarget::PreHandleEvent. r=smaug 2016-10-21 11:29:34 +08:00
nsIDOMFocusEvent.idl Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsIDOMKeyEvent.idl Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsIDOMMouseEvent.idl Bug 1250746 - Add InitMouseEvent back to nsIDOMMouseEvent. r=khuey 2016-02-26 10:04:00 +01:00
nsIDOMMouseScrollEvent.idl Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsIDOMMutationEvent.idl Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug 2016-01-12 07:49:08 +03:30
nsIDOMNSEvent.idl
nsIDOMNotifyPaintEvent.idl Bug 1334957 part 2. Remove all the accessors from the XPCOM interface for NotifyPaintEvent. r=smaug 2017-02-02 12:48:48 -05:00
nsIDOMPaintRequest.idl
nsIDOMScrollAreaEvent.idl Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsIDOMSimpleGestureEvent.idl Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsIDOMTransitionEvent.idl Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug 2016-01-12 07:49:08 +03:30
nsIDOMUIEvent.idl Bug 1347073 Get rid of UIEvent.isChar since it's not initialized properly on most platforms and the other browsers don't support this r=smaug 2017-03-14 18:29:39 +09:00
nsIDOMWheelEvent.idl Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00