gecko-dev/dom/xul
Masayuki Nakano 58f8b541ad Bug 1675847 - part 3: Make ePointerClick event dispatchers and handlers use WidgetPointerEvent r=smaug,search-reviewers,devtools-reviewers,nchevobbe,jteow
This patch makes the all `ePointerClick` event dispatcher in C++ code use
`WidgetPointerEvent` instead of `WidgetMouseEvent`.

Then, this patch also makes the all `click` event dispatcher in chrome code use
`PointerEvent` instead of `MouseEvent`.  For detecting wrong trusted event
dispatching of `click` event, this patch adds assertion into `MouseEvent`.
Therefore, all chrome test dispatchers also changed to use `PointerEvent`.

Finally, this patch includes a change of a WPT.  That checks the `pointerId`
caused by executing an access key.  In this case, the value should be `-1`
rather than the default value `0` because Pointer Event spec defines so for
synthetic pointer events caused by non-pointing devices [1].  Chrome also
sets it to `-1` and fails [2].  Therefore, the new assertion will pass on both
Firefox and Chrome.

1. https://w3c.github.io/pointerevents/#dom-pointerevent-pointerid
2. https://wpt.fyi/results/uievents/interface/keyboard-accesskey-click-event.html?run_id=5087897523060736&run_id=5136270464647168&run_id=5163620816388096&run_id=5201281304231936

Differential Revision: https://phabricator.services.mozilla.com/D213001
2024-06-14 00:18:47 +00:00
..
crashtests
test Bug 1864896: Autofix unused function arguments (dom). r=emilio,media-playback-reviewers,dom-storage-reviewers,padenot,janv 2024-03-04 15:44:59 +00:00
ChromeObserver.cpp Bug 1884792 - Remove chrome-only :-moz-lwtheme pseudo-class. r=desktop-theme-reviewers,dao 2024-03-18 10:18:25 +00:00
ChromeObserver.h
MenuBarListener.cpp
MenuBarListener.h
moz.build
nsIBrowserController.idl
nsIController.idl
nsIControllers.idl
nsXULCommandDispatcher.cpp
nsXULCommandDispatcher.h
nsXULContentSink.cpp Bug 1881188 - Remove nsLayoutCID.h r=emilio 2024-02-21 13:04:30 +00:00
nsXULContentSink.h
nsXULContentUtils.cpp Bug 1881188 - Remove nsLayoutCID.h r=emilio 2024-02-21 13:04:30 +00:00
nsXULContentUtils.h
nsXULControllers.cpp
nsXULControllers.h
nsXULElement.cpp Bug 1675847 - part 3: Make ePointerClick event dispatchers and handlers use WidgetPointerEvent r=smaug,search-reviewers,devtools-reviewers,nchevobbe,jteow 2024-06-14 00:18:47 +00:00
nsXULElement.h Bug 1895208 - Refactor IsFocusable checks to take flags rather than bool arguments. r=smaug 2024-05-06 21:54:37 +00:00
nsXULPopupListener.cpp Bug 1881845 - Remove nsContentCID.h r=smaug,media-playback-reviewers,karlt 2024-03-04 23:41:05 +00:00
nsXULPopupListener.h
nsXULPrototypeCache.cpp
nsXULPrototypeCache.h
nsXULPrototypeDocument.cpp
nsXULPrototypeDocument.h
nsXULSortService.cpp
nsXULSortService.h
XULBroadcastManager.cpp
XULBroadcastManager.h
XULButtonElement.cpp Bug 1675847 - part 2: Rename some methods which handle "MouseClick" r=smaug 2024-06-14 00:18:46 +00:00
XULButtonElement.h Bug 1675847 - part 2: Rename some methods which handle "MouseClick" r=smaug 2024-06-14 00:18:46 +00:00
XULFrameElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULFrameElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULMenuBarElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULMenuBarElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULMenuElement.cpp
XULMenuElement.h
XULMenuParentElement.cpp
XULMenuParentElement.h
XULPersist.cpp
XULPersist.h
XULPopupElement.cpp
XULPopupElement.h
XULResizerElement.cpp Bug 1675847 - part 1: Rename eMouseClick and eMouseAuxClick r=smaug 2024-06-14 00:18:46 +00:00
XULResizerElement.h
XULTextElement.cpp Bug 1896516 Part 9 - Remove nsIScrollableFrame usages under dom/. r=layout-reviewers,emilio 2024-05-30 06:32:21 +00:00
XULTextElement.h
XULTooltipElement.cpp
XULTooltipElement.h
XULTreeElement.cpp Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00
XULTreeElement.h Bug 1881011 - Refactor UnbindFromTree to take a context argument. r=smaug 2024-02-20 15:05:40 +00:00