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
Перейти к файлу
Jan Henning 6011bbb22c Bug 1478776 - Part 6: Initial Visual Viewport event implementation. r=botond
The event rate throttling mechanism is modelled on the logic for "scroll" events
in nsGfxScrollFrame.cpp.

That is
1. When a request to fire an event is posted to the VisualViewport, we create a
   new runnable for this and register it with the RefreshDriver. If we already
   have a pending runnable, calling VisualViewport->Post...Event() becomes a
   no-op.
2. When the RefreshDriver is ready, it executes the runnable, which in turn
   fires the actual event and then cleans itself up.

To keep this patch manageable, we simply fire a scroll event every time the
stored visual viewport offset is changed. Because we are storing the absolute
offset of the viewport relative to the page, this behaviour doesn't match the
spec, which demands that scroll events are fired only when the relative offset
between visual and layout viewport changes. We'll fix this up in the next patch.

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

--HG--
extra : moz-landing-system : lando
2018-12-20 21:35:26 +00:00
.cargo Bug 1504507 - Update serde branch for changes in WR PR #3264. r=kats 2018-11-05 13:14:07 +00:00
.vscode Bug 1514820 - Recommend a VSCode extension for IDL language highlighting r=jya 2018-12-18 19:43:33 +00:00
accessible Bug 1513749 - Modernize a bit nsLayoutUtils::GetFrameForPoint / GetFrameForArea. r=mats 2018-12-21 11:22:07 +00:00
browser Bug 1500486 - QuantumBar: Handle loading of non-urls entered in the new address bar. r=dao 2018-12-21 16:58:47 +00:00
build Merge inbound to mozilla-central. a=merge 2018-12-21 11:37:24 +02:00
caps Bug 1512029 part 1 - Stop calling JS_GetCompartmentPrincipals for system compartments. r=bzbarsky 2018-12-16 14:59:46 +00:00
chrome Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
config Bug 1509573 - Part 2: Make |mach build faster| handle Android generated files. r=froydnj 2018-12-18 23:00:59 +00:00
db Bug 1514683 - Enable SQLITE_DBCONFIG_DEFENSIVE. r=mak 2018-12-19 18:11:27 +00:00
devtools Merge inbound to mozilla-central. a=merge 2018-12-21 11:37:24 +02:00
docshell Bug 1508642 - Add in session history triggering principal to nsSHistory. r=ckerschb 2018-12-20 12:17:45 +00:00
dom Bug 1478776 - Part 6: Initial Visual Viewport event implementation. r=botond 2018-12-20 21:35:26 +00:00
editor Bug 1441619 - Add crashtest. r=masayuki 2018-12-18 15:09:52 +09:00
embedding Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
extensions Bug 1503393 - adjust tests for localhost proxying r=mayhemer 2018-12-03 16:28:14 +02:00
gfx Bug 1478776 - Part 6: Initial Visual Viewport event implementation. r=botond 2018-12-20 21:35:26 +00:00
gradle/wrapper Bug 1509572 - Part 1: Bump Gradle wrapper to 4.10.2; decouple script from Gradle version. r=snorp 2018-11-26 21:42:27 +00:00
hal Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
image Bug 1515800 - Rename some more GetCurrentTime methods to avoid winbase.h bustage r=birtles,bzbarsky 2018-12-21 05:37:58 +00:00
intl Bug 1404666 - patch 2 - Accelerate DateTimeFormat::FormatUDateTime by caching ICU UDateFormat objects instead of creating them afresh every time. r=gandalf 2018-12-18 11:42:04 +00:00
ipc Bug 1514320 - delete dead code in the IPDL compiler based on coverage; r=nika 2018-12-19 18:01:44 +00:00
js Merge inbound to mozilla-central. a=merge 2018-12-21 18:36:36 +02:00
layout Bug 1478776 - Part 6: Initial Visual Viewport event implementation. r=botond 2018-12-20 21:35:26 +00:00
media Bug 1380555 - remove deprecated WebRTC RTP stat isRemote in favor of new stat types r=jib,smaug 2018-12-21 02:35:58 +00:00
memory Bug 1511251 - Remove redundant and costly assert. r=njn 2018-12-05 14:45:52 +00:00
mfbt Bug 1515434 - Only activate the deactivation of -Wc++2a-compat from clang 6 r=botond 2018-12-19 21:18:46 +00:00
mobile Bug 1513912 - Null check return from TextToSpeech.getFeatures() r=agi 2018-12-21 15:28:05 +00:00
modules Backed out changeset 2eab9d9bd89e (bug 1514655) for geckoview-junit perma failures NavigationDelegateTest.loadData_noMimeType CLOSED TREE 2018-12-21 15:34:27 +02:00
mozglue Bug 1513088 - Switch aarch64-windows MozStackWalk code to RtlVirtualUnwind. r=froydnj 2018-12-19 20:14:17 +00:00
netwerk Backed out changeset 3a328e80b02c (bug 1510860) for failures e.g.: dom/tests/mochitest/general/test_storagePermissionsLimitForeign.html CLOSED TREE 2018-12-21 18:31:20 +02: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 1514532 - the modules/libmar directory isn't clang formatted and there are a few deprecation warnings in app update code. r=mhowell 2018-12-17 11:17:21 -08:00
parser Backed out changeset 2eab9d9bd89e (bug 1514655) for geckoview-junit perma failures NavigationDelegateTest.loadData_noMimeType CLOSED TREE 2018-12-21 15:34:27 +02:00
python Bug 1515808 - Compensate for older python's buggy inspect.getblock. r=nalexander 2018-12-21 00:47:29 +00:00
security Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-21 00:06:08 +02:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2018-12-20 13:30:40 +00:00
servo Bug 1515533 - Bump smallvec and smallbitvec r=emilio 2018-12-20 01:49:42 +00:00
startupcache Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
storage Bug 1513892 - Part 1: Cache usage in the database table; r=asuth 2018-12-21 06:26:25 +01:00
taskcluster Bug 1436037 - [ci] Run mozbase and mozlint python-test tasks on OSX, r=jmaher 2018-12-21 13:43:12 +00:00
testing Bug 1478776 - Part 2: Add utility class for counting events. r=botond,masayuki 2018-12-20 21:34:50 +00:00
third_party Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-12-20 13:11:48 +02:00
toolkit Bug 1515427 - Remove #ifndef RELEASE_OR_BETA guard on formautofill license references. r=mhoye 2018-12-21 15:58:20 +00:00
tools Bug 1436037 - [ci] Run mozbase and mozlint python-test tasks on OSX, r=jmaher 2018-12-21 13:43:12 +00:00
uriloader Bug 1394188 - Make tab labels not change during reload. r=bzbarsky,florian 2018-12-17 12:33:29 +00:00
view Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio 2018-12-18 18:47:37 +00:00
widget Backed out changeset 66e8d5fb19cb (bug 1510527) for failing rc4 tests on testInputConnection|Can backspace with shift+backspace CLOSED TREE 2018-12-20 11:34:00 +02:00
xpcom Merge mozilla-inbound to mozilla-central a=merge 2018-12-20 07:04:06 +02:00
xpfe/appshell Bug 1514360 - Add nsIWindowMediator.getMostRecentBrowserWindow() r=Ehsan 2018-12-14 22:53:21 +00:00
.arcconfig Bug 1460463 - Update .arcconfig to make history mutable; r=gps 2018-05-09 23:49:52 +00:00
.clang-format Bug 1512716 - Re-indent NS_QUERYFRAME macros after clang-format. r=TYLin 2018-12-07 20:00:18 +00:00
.clang-format-ignore Bug 1513205 - Remove tests from the ignore list r=Ehsan 2018-12-13 20:36:45 +00:00
.cron.yml Bug 1514407 [win64-aarch64] Add a win64-aarch64 nightly cron target; r=aki 2018-12-17 21:17:39 +00:00
.eslintignore Bug 1515605 - Enable ESLint for dom/localstorage (manual changes). r=janv 2018-12-21 10:13:00 +00:00
.eslintrc.js Bug 1513636 - Temporarily turn off ESlint rule mozilla/reject-importGlobalProperties for dom/. r=mossop 2018-12-12 19:04:35 +00:00
.flake8 Bug 1508889 - Remove ipc/chromium from the lists of third-party code. r=Ehsan 2018-11-21 03:11:37 +00: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
.git-blame-ignore-revs Bug 1511501 - Add information about the tree-wide clang-format to .git-blame-ignore-revs r=kats 2018-12-04 05:01:02 +00:00
.gitignore Bug 1513450 - Do not ignore .rej/.orig files. r=firefox-build-system-reviewers,nalexander 2018-12-17 21:41:01 +00:00
.hg-annotate-ignore-revs Bug 1508324 - Create the .hg-annotate-ignore-revs file to be used with hg smart-annotate. r=ehsan DONTBUILD NPOTB 2018-11-30 01:16:10 -02:00
.hg-format-source Bug 1511181 - Quick fix for .hg-format-source that has an empty line. r=ehsan, a=aryx 2018-11-30 13:25:44 +02:00
.hgignore Bug 1513450 - Do not ignore .rej/.orig files. r=firefox-build-system-reviewers,nalexander 2018-12-17 21:41:01 +00:00
.hgtags No bug - Tagging mozilla-central 3386ff76878d83496bb822d09115c77472808b53 with FIREFOX_NIGHTLY_65_END a=release DONTBUILD CLOSED TREE 2018-12-10 07:29:08 -08:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap NO BUG - Use ato's new address. r=me 2018-02-26 15:59:29 +00:00
.taskcluster.yml BUG 1500166 - notify ciduty by email if a nightly hook fails + fix identation issue. r=tomprice 2018-12-20 18:39:43 +02: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-12-10 07:58:12 -08:00
Cargo.lock Bug 1515533 - Bump smallvec and smallbitvec r=emilio 2018-12-20 01:49:42 +00:00
Cargo.toml Bug 1507524 - Move webrender to gfx/wr. r=jrmuizel 2018-11-22 21:47:48 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal 2018-10-16 22:21:36 +00:00
README.txt Bug 1480997 - Remove "Mozilla FTP server" link in README.txt r=mossop 2018-10-23 10:06:29 +00:00
aclocal.m4 Bug 1513798 - Revert bug 638149 and leave it to configure to set -dead_strip. r=nalexander 2018-12-18 10:50:06 +09:00
build.gradle Bug 1506658 - Add @Nullable or @NonNull to all APIs. r=snorp,rbarker,geckoview-reviewers 2018-12-20 15:22:45 +00:00
client.mk Bug 1498031 - Merge code paths for running configure between Tup and Make based backends. r=firefox-build-system-reviewers,mshal 2018-10-16 22:21:36 +00:00
client.py Bug 1399100 - fix client.py follow-up, r=kaie 2017-09-20 09:13:14 +02:00
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 Bug 1453413 - Use aapt2 to build Firefox for Android. r=mcomella 2018-04-11 09:59:22 -07:00
gradlew
mach
moz.build Bug 1508248 - Update in-tree bugzilla metadata to use 'Firefox Build System :: Mach Core' for mach files r=froydnj 2018-11-19 13:35:14 +00:00
moz.configure Bug 1502457 - Move MOZILLA_OFFICIAL to init.configure. r=nalexander 2018-11-16 01:16:31 +00:00
mozilla-config.h.in Bug 1504022 - Map GetExceptionCode to a nop to avoid an error r=bobowen 2018-11-02 13:28:01 -05:00
old-configure.in Merge inbound to mozilla-central. a=merge 2018-12-21 11:37:24 +02:00
package-lock.json Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander 2018-10-01 17:28:45 +00:00
package.json Bug 1495397 - Update mozilla-central's package.json for being more generic, and move existing ESLint modules to dev dependencies. r=firefox-build-system-reviewers,nalexander 2018-10-01 17:28:45 +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.]

Nightly development builds can be downloaded from:

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

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.