Bug 1648944 - Part 4: Move onselectionchange attribute to GlobalEventHandlers r=masayuki,edgar

Differential Revision: https://phabricator.services.mozilla.com/D118378
This commit is contained in:
Kagami Sascha Rosylight 2021-07-20 13:46:45 +00:00
parent d5c795aa51
commit a2f7e12c52
4 changed files with 3 additions and 14 deletions

View File

@ -348,8 +348,8 @@ TOUCH_EVENT(touchcancel, eTouchCancel, EventNameType_All, eTouchEventClass)
DOCUMENT_ONLY_EVENT(readystatechange, eReadyStateChange, EventNameType_HTMLXUL,
eBasicEventClass)
DOCUMENT_ONLY_EVENT(selectionchange, eSelectionChange, EventNameType_HTMLXUL,
eBasicEventClass)
EVENT(selectionchange, eSelectionChange, EventNameType_HTMLXUL,
eBasicEventClass)
DOCUMENT_ONLY_EVENT(visibilitychange, eVisibilityChange, EventNameType_HTMLXUL,
eBasicEventClass)

View File

@ -191,8 +191,6 @@ partial interface Document {
attribute EventHandler onbeforescriptexecute;
attribute EventHandler onafterscriptexecute;
attribute EventHandler onselectionchange;
/**
* True if this document is synthetic : stand alone image, video, audio file,
* etc.

View File

@ -93,6 +93,7 @@ interface mixin GlobalEventHandlers {
attribute EventHandler onwaiting;
attribute EventHandler onselectstart;
attribute EventHandler onselectionchange;
attribute EventHandler ontoggle;

View File

@ -1,10 +0,0 @@
[idlharness.window.html]
[Window interface: attribute onselectionchange]
expected: FAIL
[Window interface: window must inherit property "onselectionchange" with the proper type]
expected: FAIL
[HTMLElement interface: attribute onselectionchange]
expected: FAIL