From ef2cd8749ff41c3d87a19b598d8d3be1430b75bf Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Tue, 7 Jan 2020 08:27:34 -0500 Subject: Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called. Tag #1343 --- dom/events/EventNameList.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dom/events') diff --git a/dom/events/EventNameList.h b/dom/events/EventNameList.h index 214b844e7d..c299133e39 100644 --- a/dom/events/EventNameList.h +++ b/dom/events/EventNameList.h @@ -172,6 +172,10 @@ EVENT(click, eMouseClick, EventNameType_All, eMouseEventClass) +EVENT(close, + eClose, + EventNameType_HTML, + eBasicEventClass) EVENT(contextmenu, eContextMenu, EventNameType_HTMLXUL, -- cgit v1.2.3 From 52bda2a828364a9a2b3847a005587fa0ea952b30 Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Tue, 7 Jan 2020 09:48:00 -0500 Subject: Bug 1379728 part 1. Remove the double-definition of the 'close' event from EventNameList.h. Tag #1343 --- dom/events/EventNameList.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'dom/events') diff --git a/dom/events/EventNameList.h b/dom/events/EventNameList.h index c299133e39..94e8a589bd 100644 --- a/dom/events/EventNameList.h +++ b/dom/events/EventNameList.h @@ -174,7 +174,7 @@ EVENT(click, eMouseEventClass) EVENT(close, eClose, - EventNameType_HTML, + EventNameType_HTMLXUL, eBasicEventClass) EVENT(contextmenu, eContextMenu, @@ -777,10 +777,6 @@ NON_IDL_EVENT(command, eXULCommand, EventNameType_XUL, eInputEventClass) -NON_IDL_EVENT(close, - eWindowClose, - EventNameType_XUL, - eBasicEventClass) NON_IDL_EVENT(popupshowing, eXULPopupShowing, EventNameType_XUL, -- cgit v1.2.3