gecko-dev/dom
Masayuki Nakano c90d6c80b3 Bug 1569512 - Make PresShell ignore synthesized mousemove events coming from another process if the child process stores mouse location of synthesized mouse events for tests r=smaug
The reason of intermittent failure of `test_bug656379-2.html` is, synthesized
`mousemove` event coming from the parent process causes `mouseout` and
`mouseleave` events of the last synthesized `mousemove` in the test.  The
reason is, synthesized `mousemove` for tests makes `PresShell` in the content
process record the cursor location, but won't make it `PresShell` in the
parent process do it.  Therefore, parent process may synthesize `mousemove`
event for the system cursor position which does not match with the synthesized
mouse location in the content process.  Therefore, `:hover` state may be
updated unexpectedly.

This patch makes `WidgetEvent::mFlags` have a flag to indicate whether it
came from another process.  Then, makes `PresShell::HandleEvent()` ignore
synthesized `mousemove` events coming from another process only when the
recorded mouse location was set by a mouse event synthesized for tests.

Differential Revision: https://phabricator.services.mozilla.com/D65282

--HG--
extra : moz-landing-system : lando
2020-03-05 21:34:28 +00:00
..
abort Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
animation Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
audiochannel Bug 1577890 - part10 : remove unused function 'ShouldBlockMedia()'. r=baku 2020-03-05 06:18:00 +00:00
base Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
battery Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
bindings Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
broadcastchannel Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
browser-element Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
cache Bug 1507180 - Add explanatory comment r=dom-workers-and-storage-reviewers,sg 2020-03-05 09:36:39 +00:00
canvas Bug 1620876 - Handle "//\n" webglsl comments. r=lsalzman 2020-03-09 03:19:25 +00:00
chrome-webidl Bug 1592037 - part6 : implement a chrome-only method for accessing current active media metadata during testing. r=bzbarsky 2020-03-05 19:43:50 +00:00
clients Bug 1619112 part 5. Stop accepting nsAString in ErrorResult error-throwing. r=smaug 2020-03-06 21:08:02 +00:00
commandhandler Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
console Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
credentialmanagement Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
crypto Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
debugger
docs Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika 2020-02-25 22:33:53 +00:00
encoding Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
events Bug 1569512 - Make PresShell ignore synthesized mousemove events coming from another process if the child process stores mouse location of synthesized mouse events for tests r=smaug 2020-03-05 21:34:28 +00:00
fetch Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
file Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
filehandle Bug 1614360 - Signal error to child on attempts to read beyond EOF instead of asserting. r=dom-workers-and-storage-reviewers,ttung 2020-02-18 14:45:59 +00:00
filesystem Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
flex Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
gamepad Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj 2020-02-25 17:03:36 +00:00
geolocation Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
grid Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
html Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
imptests
indexedDB Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
interfaces Bug 1577890 - part11 : remove 'mediaSuspend' from nsIDOMWindowUtils. r=baku 2020-03-05 06:18:24 +00:00
ipc Bug 1620817. Invalidate when the BrowserChild gets a different visible rect. r=mattwoodrow 2020-03-08 22:19:10 +00:00
jsurl Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
l10n Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
locales Bug 1510120 - Block running background-color animation on the compositor if there is any current-color keyframe. r=boris,flod 2020-03-03 21:48:01 +00:00
localstorage Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
manifest Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
mathml Bug 1611181 - Make direction use an enum class. r=boris 2020-01-24 11:46:14 +00:00
media Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
messagechannel Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
midi Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
network Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
notification Bug 1619112 part 5. Stop accepting nsAString in ErrorResult error-throwing. r=smaug 2020-03-06 21:08:02 +00:00
offline Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan 2020-03-04 08:59:08 +00:00
payments Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
performance Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
permission Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
plugins Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
power Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/power. r=smaug 2020-03-04 09:08:09 +00:00
presentation Bug 1618552 - Remove unused AndroidCastDeviceProvider.jsm r=smaug 2020-03-05 21:50:13 +00:00
prio bug 1610296 - Rename TypedArray_base::ComputeLengthAndData to TypedArray_base::ComputeState; r=bzbarsky 2020-01-23 03:22:06 +00:00
promise Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
prototype Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj 2020-02-25 17:03:36 +00:00
push Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
quota Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
reporting Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
res
script Bug 1496159 test. 2020-03-07 04:16:15 +00:00
security Bug 1544011 - remove exception that SystemPrincipal may open discovery pane r=ckerschb 2020-03-05 18:43:04 +00:00
serviceworkers Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
simpledb Bug 1606635 - Modify QuotaManager::OpenDirectory to return a pending lock; r=asuth,dom-workers-and-storage-reviewers,sg 2020-02-29 04:42:50 +00:00
smil Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
storage Backed out 2 changesets (bug 1603703) for xpc failures on test_storage_aggregates.js. CLOSED TREE 2020-03-05 19:37:32 +02:00
svg Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
system Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
tests Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers 2020-03-08 21:45:16 +00:00
u2f Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
url Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
vr Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/vr. r=smaug 2020-03-04 09:07:32 +00:00
webauthn Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
webbrowserpersist Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan 2020-03-04 08:59:08 +00:00
webgpu Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug 2020-03-06 21:04:58 +00:00
webidl Bug 1577890 - part7 : remove 'computedSuspended' which is a testing-only attribute. r=baku 2020-03-05 06:17:48 +00:00
websocket Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
workers Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
worklet Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
xhr Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
xml Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
xslt Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug 2020-03-06 21:04:58 +00:00
xul Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
jar.mn
moz.build