gecko-dev/layout/xul
Masayuki Nakano 23a18fdd2a Bug 831008 - Make `EventListenerManager` assert when a legacy DOM mutation event listener is added in either chrome documents, native anonymous subtrees or the system event groups r=smaug
The legacy DOM mutation events shouldn't be used even in content and must not be
used in chrome.

This patch makes it crash if legacy mutation event listener is:
* added to a node in a chrome document
* added to a node in a native anonymous subtree
* added to the system event group
* implemented by C++

This causes some crash tests and chrome tests.  Therefore, this patch modifies
them to use `MutationObserver` instead or removes them if it's impossible to
rewrite with `MutationObserver`.

Note that if I prevent to dispatch mutation events in some/all of the cases,
that causes performance regression in Speedometer3.  Therefore, this patch
does not touch `EventDispatcher`.

Differential Revision: https://phabricator.services.mozilla.com/D181828
2023-06-27 04:20:17 +00:00
..
crashtests Bug 1824236 - Remove a crashtest using <slider> without a scrollbar. 2023-03-28 01:15:35 +02:00
reftest Bug 1823764 - Use HasNonEmptyAttr to choose between XUL src and list-style-image. r=tnikkel,layout-reviewers 2023-03-22 11:50:06 +00:00
test Backed out 2 changesets (bug 1838829) for causing perma mochitest failure with dom/websocket/tests being skipped CLOSED TREE 2023-06-27 02:52:52 +03:00
tree Bug 831008 - Make `EventListenerManager` assert when a legacy DOM mutation event listener is added in either chrome documents, native anonymous subtrees or the system event groups r=smaug 2023-06-27 04:20:17 +00:00
MiddleCroppingLabelFrame.cpp Bug 1824667 - Remove nsTextBoxFrame. r=jwatt 2023-03-27 23:46:51 +00:00
MiddleCroppingLabelFrame.h Bug 1824667 - Remove nsTextBoxFrame. r=jwatt 2023-03-27 23:46:51 +00:00
SimpleXULLeafFrame.cpp Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt 2023-03-27 20:54:53 +00:00
SimpleXULLeafFrame.h Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt 2023-03-27 20:54:53 +00:00
moz.build Bug 1824957 - Remove a bunch of now completely dead XUL layout code. r=layout-reviewers,desktop-theme-reviewers,devtools-reviewers,dao,TYLin 2023-03-29 21:23:55 +00:00
nsIPopupContainer.h Bug 1800238 - Make popups position: fixed rather than position: absolute. r=TYLin 2022-11-12 21:10:18 +00:00
nsIScrollbarMediator.h Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt 2023-03-27 20:54:53 +00:00
nsMenuPopupFrame.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsMenuPopupFrame.h Bug 1828772 - Don't use move-to-rect if layout has flipped our popup. r=stransky 2023-04-19 13:00:16 +00:00
nsRepeatService.cpp
nsRepeatService.h
nsScrollbarButtonFrame.cpp Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt 2023-03-27 20:54:53 +00:00
nsScrollbarButtonFrame.h Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt 2023-03-27 20:54:53 +00:00
nsScrollbarFrame.cpp Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt 2023-03-27 20:54:53 +00:00
nsScrollbarFrame.h Bug 1824236 - Stop using XUL layout for scrollbars. r=jwatt 2023-03-27 20:54:53 +00:00
nsSliderFrame.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsSliderFrame.h Bug 1331390 - Don't over scroll when mouse down on scrollbar if smooth scroll is enabled. r=botond 2023-06-05 17:43:38 +00:00
nsSplitterFrame.cpp Bug 1824957 - Remove a bunch of now completely dead XUL layout code. r=layout-reviewers,desktop-theme-reviewers,devtools-reviewers,dao,TYLin 2023-03-29 21:23:55 +00:00
nsSplitterFrame.h Bug 1824489 - Stop using XUL layout for nsSplitterFrame. r=jwatt 2023-03-27 22:55:09 +00:00
nsXULPopupManager.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsXULPopupManager.h Bug 1824986 - Use element more in popup manager code. r=mstange 2023-03-28 14:33:19 +00:00
nsXULTooltipListener.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
nsXULTooltipListener.h Bug 1569439 - Cleanup tooltip pref handling. r=stransky 2023-01-19 10:28:28 +00:00