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 --- widget/EventMessageList.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widget') diff --git a/widget/EventMessageList.h b/widget/EventMessageList.h index 372ca90fb..890a26dcd 100644 --- a/widget/EventMessageList.h +++ b/widget/EventMessageList.h @@ -457,6 +457,9 @@ NS_EVENT_MESSAGE(eVisibilityChange) // Details element events. NS_EVENT_MESSAGE(eToggle) +// Dialog element events. +NS_EVENT_MESSAGE(eClose) + #ifdef UNDEF_NS_EVENT_MESSAGE_FIRST_LAST #undef UNDEF_NS_EVENT_MESSAGE_FIRST_LAST #undef NS_EVENT_MESSAGE_FIRST_LAST -- cgit v1.2.3