Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Ella Ge e61d2689a7 Bug 1485205 [wpt PR 12607] - Direct dispatch mouse pointer event by MEM and PEM, a=testonly
Automatic update from web-platform-testsDirect dispatch mouse pointer event by MEM and PEM

We used to direct dispatch mouse pointer events by a different
code path in node.cc. Unlike normal events, these events are
created separately and didn't went through EventHandler. This
causes extra complexity.

This CL changes the direct dispatch code path to dispatch events
through PointerEventManager and MouseEventManager, so we can have
only one place to create events and further merge the event
code path in the future.
This patch should cause no change for direct dispatched events
other then the click count. The new direct dispatch code path
will also update click_count stored in MEM by the
WebMouseEvent.click_count.

This CL also fixes two issue caused by different code path,
1. direct dispatched pointermove events, (eg. when pointerlocked),
didn't havbe getCoalescedEvents.
2. pointer move on chorded mouse button when pointer is locked.

Bug: 859132, 665924
Change-Id: Iead9c8135ef58c2bf8e45bd7787cf14334c2e139
Reviewed-on: https://chromium-review.googlesource.com/1134219
Commit-Queue: Ella Ge <eirage@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#591834}

--

wpt-commits: d4c197a71c0777e839b65c17a59da12b6ddd8d0d
wpt-pr: 12607
2018-09-20 12:09:25 +00:00
.cargo Bug 1468950 - Update serde_derive patch for changes in WR PR 2819. r=Gankro 2018-06-21 08:15:40 -04:00
.vscode Bug 1482693 - Recommend the official Rust VisualStudio Code extension r=gps,jya 2018-08-13 21:21:34 +00:00
accessible Merge inbound to mozilla-central. a=merge 2018-09-20 00:58:18 +03:00
browser Bug 1490952 - Align <tabs> default and override styles on Mac. r=mikedeboer 2018-09-20 12:22:55 +02:00
build Backed out changeset 96059b4f6d8a (bug 1490119) for breaking OSX builds r=bhearsum a=backout 2018-09-20 02:52:19 +03:00
caps Bug 1422456 - Origin for about: URL should not contain query or ref parts, r=smaug 2018-09-14 20:07:22 +02:00
chrome Bug 1486147: Part 2 - Update JS string enumerator callers to use JS iteration. r=mccr8 2018-08-24 16:22:40 -07:00
config Merge mozilla-central to autoland 2018-09-19 05:20:02 +03:00
db Bug 1491671 - Upgrade to SQLite 3.25.1. r=mak 2018-09-19 13:28:02 +00:00
devtools Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-20 07:17:01 +03:00
docshell Bug 1492609 - Update test_bug789773.xul to support URLs other than browser.xul as the browser chrome;r=bholley 2018-09-19 22:24:04 +00:00
dom Merge inbound to mozilla-central. a=merge 2018-09-20 07:13:05 +03:00
editor Bug 1484119 - part 2: Make HTMLEditor::DeleteTableCellWithTransaction() remove <table> element if it becomes empty r=m_kato 2018-09-19 09:00:06 +00:00
embedding
extensions Bug 1491569 - Remove the XPCOM registration for mozSpellChecker; r=smaug 2018-09-15 20:13:51 -04:00
gfx Bug 1492398 - Suppress CompositorBridgeParent::RecvAdoptChild() r=mattwoodrow 2018-09-20 18:01:43 +09:00
gradle/wrapper Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp 2018-07-17 13:20:19 +01:00
hal Bug 1488401 - Remove the remnants of the DiskSpaceWatcher r=asuth,janv,smaug 2018-09-13 06:40:51 +00:00
image Bug 1491574 - Part 1: Remove the XPCOM registration for nsProperties; r=froydnj 2018-09-18 00:33:59 -04:00
intl Bug 1492118 - Correct reference to intl.regional_prefs.use_os_locales in locale documentation r=zbraniecki 2018-09-18 16:06:27 +00:00
ipc Bug 1463048 - Remove asynchronous minidump generation r=ted 2018-09-17 20:51:45 +00:00
js Bug 1490042 - Only allow one AutoClearTypeInferenceStateOnOOM to be live at a time to fix recursive type sweeping r=jandem 2018-09-20 10:54:18 +01:00
layout Merge mozilla-central to inbound a=merge 2018-09-20 09:53:16 +03:00
media Bug 1253499 - Break out VideoStreamFactory to separate file. r=dminor 2018-09-19 15:51:46 +00:00
memory Bug 1480457-Correct typedef so it matches an earlier typedef r=aklotz 2018-08-30 23:05:59 +03:00
mfbt Bug 1486400 - add task dispatch/run delays for ChaosMode; r=jesup 2018-09-19 12:02:09 -04:00
mobile Bug 1456110 - 3. Enable the "what's new" experiment when testing; r=sdaswani 2018-09-18 16:09:50 +00:00
modules Bug 1486147: Follow-up: Fix missing QueryInterface entries. r=bustage 2018-09-19 17:34:10 -07:00
mozglue Bug 1489092: Handle return value of append() to suppress warnings;r=aklotz 2018-09-18 18:59:54 +00:00
netwerk Bug 1486147: Follow-up: Fix missing QueryInterface entries. r=bustage 2018-09-19 17:34:10 -07:00
nsprpub Bug 1477680, NSPR 4.20 RTM, no code change, only version number, r=me 2018-08-28 16:21:01 +02:00
other-licenses Bug 1490264 Part 2 - Document our SFX stub version resource edits. r=agashlin 2018-09-11 11:17:30 -07:00
parser Bug 1492204 - Part 3: Remove references to char_iterator. r=froydnj 2018-09-18 12:05:23 -07:00
python Backed out changeset 96059b4f6d8a (bug 1490119) for breaking OSX builds r=bhearsum a=backout 2018-09-20 02:52:19 +03:00
security Merge inbound to mozilla-central. a=merge 2018-09-20 07:13:05 +03:00
services Bug 1483948 - Upgrade vendored kinto.js to v12.0.0 r=glasserc 2018-09-19 10:16:41 +00:00
servo Bug 1492567 - Back out bug 1481866. r=dbaron 2018-09-20 01:27:55 +02:00
startupcache Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
storage Bug 1489147 - Remove the XPCOM component registration for nsXPConnect; r=mccr8 2018-09-06 16:39:35 -04:00
taskcluster Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-09-20 07:17:01 +03:00
testing Bug 1485205 [wpt PR 12607] - Direct dispatch mouse pointer event by MEM and PEM, a=testonly 2018-09-20 12:09:25 +00:00
third_party Bug 1489285: Update libaom. r=dminor 2018-09-19 21:27:06 +00:00
toolkit Bug 1490952 - Align <tabs> default and override styles on Mac. r=mikedeboer 2018-09-20 12:22:55 +02:00
tools Bug 1489282 - Create a UrlbarPreferences module that can be used across all urlbar components r=mak 2018-09-18 20:06:27 +00:00
uriloader Bug 1486147: Part 2 - Update JS string enumerator callers to use JS iteration. r=mccr8 2018-08-24 16:22:40 -07:00
view Bug 1487190 - Update bugzilla metadata in moz.build files to reflect Layout components reorganization in bug 1484408. r=heycam 2018-09-05 11:16:02 +00:00
widget Bug 1492210 - Cast AVAuthorizationStatus to GeckoAVAuthorizationStatus r=haik 2018-09-18 23:59:04 +00:00
xpcom Bug 1486147: Follow-up: Fix missing QueryInterface entries. r=bustage 2018-09-19 17:34:10 -07:00
xpfe/appshell Bug 1489967 - Keep active state when Firefox is moved to background and focusmanager test mode is enabled. r=enndeakin 2018-09-10 15:03:04 +02:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format
.clang-format-ignore Bug 1489449 - Add prio and other thirdparty libs to the list of thirdparty code r=janx 2018-09-07 12:08:25 +00:00
.cron.yml Bug 1477021 - Schedule pipfile updates to run once per week. r=sfraser 2018-07-27 15:12:36 +00:00
.eslintignore Bug 1489980 - Enable ESLint for editor/ - Manual fixes. r=masayuki 2018-09-13 07:59:47 +00:00
.eslintrc.js Bug 1486739 - Enable ESLint rule comma-dangle for browser/, services/, taskcluster/ and toolkit/ directories. r=mossop 2018-08-31 06:06:08 +00:00
.flake8 Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout 2018-09-14 16:35:23 +03:00
.gdbinit Bug 1486903 - Add "ftl" command to dump frame subtree to .gdbinit. r=Ehsan 2018-08-28 20:20:21 +00:00
.gdbinit_python
.gitignore Bug 1484708 - Update .gitignore rules and add js/src/obj-*. r=ted.mielczarek 2018-08-20 09:03:00 +03:00
.hgignore Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout 2018-09-14 16:35:23 +03:00
.hgtags No bug - Tagging mozilla-central 034c5ef24e98b0ce85fa849face079f568eb397c with FIREFOX_NIGHTLY_63_END a=release DONTBUILD CLOSED TREE 2018-09-04 11:10:28 -07:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap
.taskcluster.yml Bug 1491621 - use different priorities for different kinds of decisions r=tomprince 2018-09-19 20:41:01 +00:00
.trackerignore Bug 1486468 - Add .trackerignore file to avoid GNOME Tracker indexing mozilla-central files. r=ahal 2018-08-27 16:45:03 +02:00
.yamllint
.ycm_extra_conf.py
AUTHORS Bug 1481409 - Use HTTPS protocol for Mozilla's Credits link in AUTHORS file r=mossop 2018-08-13 16:39:30 +00:00
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2018-09-04 11:15:27 -07:00
Cargo.lock Bug 1492001 - Update geckodriver Rust dependencies. r=jgraham 2018-09-18 17:51:03 +00:00
Cargo.toml Bug 1474871 - Link dump_syms against rustc-demangle. r=ted 2018-07-12 10:23:12 +09:00
GNUmakefile
LEGAL
LICENSE
Makefile.in bug 1490325 - write sccache log directly to artifact directory, make logs slightly more verbose. r=mshal 2018-09-18 20:02:17 +00:00
Pipfile Bug 1490128: upgrade json-e==2.7.0 r=davehunt 2018-09-11 21:14:52 +00:00
Pipfile.lock Bug 1490128: upgrade json-e==2.7.0 r=davehunt 2018-09-11 21:14:52 +00:00
README.txt Bug 1460030 - Update the nightly URL in the README.txt file r=kohei 2018-05-08 21:22:10 +02:00
aclocal.m4
build.gradle Bug 1485439 - Pre: Upgrade Android Gradle plugin. r=nalexander 2018-09-04 22:33:00 +02:00
client.mk bug 1490325 - write sccache log directly to artifact directory, make logs slightly more verbose. r=mshal 2018-09-18 20:02:17 +00:00
client.py
configure.in
configure.py Bug 1461836 - Write out complete configure dependencies from configure for consumption by make and non-make backends. r=mshal 2018-05-21 14:01:50 -07:00
gradle.properties
gradlew
mach
moz.build Bug 1346026 - Vendor pipenv 2018.5.18 and transient dependencies; r=ahal 2018-05-17 19:06:20 +01:00
moz.configure Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout 2018-09-14 16:35:23 +03:00
mozilla-config.h.in Bug 1463637: Remove mozilla-config.h hacks for Hunspell extra includes. r=ted 2018-05-22 20:36:39 -07:00
old-configure.in Bug 1491671 - Upgrade to SQLite 3.25.1. r=mak 2018-09-19 13:28:02 +00:00
package-lock.json Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop 2018-08-07 14:46:19 +00:00
package.json Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop 2018-08-07 14:46:19 +00:00
settings.gradle Bug 1444546 - Part 2: Build annotationProcessors with Gradle. r=jchen 2018-02-22 16:11:14 -08:00
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly