Bug 1284914, add support in html for the ondragexit attribute, r=smaug
☠☠ backed out by 35ff0dcd1ac6 ☠ ☠
authorNeil Deakin <neil@mozilla.com>
Mon, 25 Jul 2016 09:08:39 -0400
changeset 306550 6acbad99a3ff
parent 306549 59ab86516175
child 306551 81fa78eb62f6
push id30489
push usercbook@mozilla.com
push date2016-07-26 09:56 +0000
treeherdermozilla-central@ff1ef8ec0fd8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1284914
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1284914, add support in html for the ondragexit attribute, r=smaug
dom/events/EventNameList.h
dom/webidl/EventHandler.webidl
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -185,16 +185,20 @@ EVENT(drag,
 EVENT(dragend,
       eDragEnd,
       EventNameType_HTMLXUL,
       eDragEventClass)
 EVENT(dragenter,
       eDragEnter,
       EventNameType_HTMLXUL,
       eDragEventClass)
+EVENT(dragexit,
+      eDragExit,
+      EventNameType_HTMLXUL,
+      eDragEventClass)
 EVENT(dragleave,
       eDragLeave,
       EventNameType_HTMLXUL,
       eDragEventClass)
 EVENT(dragover,
       eDragOver,
       EventNameType_HTMLXUL,
       eDragEventClass)
@@ -765,20 +769,16 @@ NON_IDL_EVENT(popuphidden,
 NON_IDL_EVENT(broadcast,
               eXULBroadcast,
               EventNameType_XUL,
               eBasicEventClass)
 NON_IDL_EVENT(commandupdate,
               eXULCommandUpdate,
               EventNameType_XUL,
               eBasicEventClass)
-NON_IDL_EVENT(dragexit,
-              eDragExit,
-              EventNameType_XUL,
-              eDragEventClass)
 NON_IDL_EVENT(overflow,
               eScrollPortOverflow,
               EventNameType_XUL,
               eBasicEventClass)
 NON_IDL_EVENT(underflow,
               eScrollPortUnderflow,
               EventNameType_XUL,
               eBasicEventClass)
--- a/dom/webidl/EventHandler.webidl
+++ b/dom/webidl/EventHandler.webidl
@@ -39,17 +39,17 @@ interface GlobalEventHandlers {
            attribute EventHandler onclick;
            //(Not implemented)attribute EventHandler onclose;
            attribute EventHandler oncontextmenu;
            //(Not implemented)attribute EventHandler oncuechange;
            attribute EventHandler ondblclick;
            attribute EventHandler ondrag;
            attribute EventHandler ondragend;
            attribute EventHandler ondragenter;
-           //(Not implemented)attribute EventHandler ondragexit;
+           attribute EventHandler ondragexit;
            attribute EventHandler ondragleave;
            attribute EventHandler ondragover;
            attribute EventHandler ondragstart;
            attribute EventHandler ondrop;
            attribute EventHandler ondurationchange;
            attribute EventHandler onemptied;
            attribute EventHandler onended;
            attribute EventHandler oninput;