Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called.

Tag #1343
This commit is contained in:
Gaming4JC 2020-01-07 08:27:34 -05:00 committed by Roy Tam
commit c39b0e4fd7
5 changed files with 12 additions and 1 deletions

View file

@ -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