Do not send DOM mouse events as synthesized

This commit is contained in:
daijro 2025-02-04 00:51:30 -06:00
parent 5ec48fdbe6
commit e6e0d3b471
2 changed files with 3 additions and 3 deletions

View file

@ -549,7 +549,7 @@ class PageAgent {
false /*aIgnoreRootScrollFrame*/, false /*aIgnoreRootScrollFrame*/,
0.0 /*pressure*/, 0.0 /*pressure*/,
0 /*inputSource*/, 0 /*inputSource*/,
true /*isDOMEventSynthesized*/, false /*isDOMEventSynthesized*/,
false /*isWidgetEventSynthesized*/, false /*isWidgetEventSynthesized*/,
0 /*buttons*/, 0 /*buttons*/,
win.windowUtils.DEFAULT_MOUSE_POINTER_ID /* pointerIdentifier */, win.windowUtils.DEFAULT_MOUSE_POINTER_ID /* pointerIdentifier */,

View file

@ -529,7 +529,7 @@ class PageHandler {
false /* aIgnoreRootScrollFrame */, false /* aIgnoreRootScrollFrame */,
0.0 /* pressure */, 0.0 /* pressure */,
0 /* inputSource */, 0 /* inputSource */,
true /* isDOMEventSynthesized */, false /* isDOMEventSynthesized */,
false /* isWidgetEventSynthesized */, false /* isWidgetEventSynthesized */,
buttons, buttons,
win.windowUtils.DEFAULT_MOUSE_POINTER_ID /* pointerIdentifier */, win.windowUtils.DEFAULT_MOUSE_POINTER_ID /* pointerIdentifier */,
@ -583,7 +583,7 @@ class PageHandler {
false /* aIgnoreRootScrollFrame */, false /* aIgnoreRootScrollFrame */,
0.0 /* pressure */, 0.0 /* pressure */,
0 /* inputSource */, 0 /* inputSource */,
true /* isDOMEventSynthesized */, false /* isDOMEventSynthesized */,
false /* isWidgetEventSynthesized */, false /* isWidgetEventSynthesized */,
buttons, buttons,
win.windowUtils.DEFAULT_MOUSE_POINTER_ID /* pointerIdentifier */, win.windowUtils.DEFAULT_MOUSE_POINTER_ID /* pointerIdentifier */,