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
Перейти к файлу
Emilio Cobos Álvarez eb563e1090 Bug 1567237 - Only use scroll range to select scrollable frames to scroll to, don't use scrollbar visibility. r=tnikkel
This is what other browsers do, and it does make sense to me, it's useless to
try to scroll a frame with no scroll range in a given direction.

I think all callers of this function should be treated like this, so this is
more like a RFC / feedback request than a patch per se.

The wheel handling code already checks scroll range, so there's no difference of
behavior in that case, if I'm reading the code right.

There are a few other functions that check the result of
GetPerceivedScrollingDirections(), but I think if we change this we should
change this consistently.

I also think that if we do this we should rename the method to something like
GetAvailableScrollingDirections() or such.

Anyhow, wdyt? I should also add a test for this if we go with this.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 22:04:31 +00:00
.cargo Bug 1530715 - P4: Vendor Rust dependencies for cubeb-coreaudio-rs. r=kinetik 2019-07-17 05:32:36 +00:00
.vscode Bug 1563848 - Recommend a VSCode plugin for prettier. r=vporof 2019-07-06 07:33:28 +00:00
accessible Bug 1548389 - part 6: Add automated tests for new API and rendering of password fields r=m_kato,Jamie 2019-07-22 03:55:13 +00:00
browser Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley 2019-07-23 22:04:40 +00:00
build Bug 1564216 - Require clang 5 for OSX builds. r=froydnj 2019-07-22 21:31:39 +00:00
caps Bug 1501108 - [1.7] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer 2019-07-21 17:18:37 +00:00
chrome Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer 2019-07-15 13:39:51 +00:00
config Bug 1567888 - remove unneeded QT-related rules and configure bits; r=nalexander 2019-07-22 18:53:43 +00:00
devtools Backed out changeset 637f32b7e43c (bug 1567335) for dt failures on markup.css . CLOSED TREE 2019-07-23 23:24:34 +03:00
docshell Backed out 10 changesets (bug 1523638) for causing high frequency Android 7.0 mochitests failures CLOSED TREE 2019-07-23 05:13:32 +03:00
dom Bug 1567237 - Only use scroll range to select scrollable frames to scroll to, don't use scrollbar visibility. r=tnikkel 2019-07-23 22:04:31 +00:00
editor Bug 1548389 - part 10: Make `TextEditor::SetUnmaskRangeInternal()` expand the range if specified offset is middle of a surrogate pair r=m_kato 2019-07-22 03:56:33 +00:00
extensions Merge inbound to mozilla-central. a=merge 2019-07-17 06:48:50 +03:00
gfx Bug 1568136 - Call gfxUtils::RemoveShaderCacheFromDiskIfNecessary() in gfxPlatform::InitWebRenderConfig() r=nical 2019-07-23 12:22:41 +00:00
gradle/wrapper
hal Bug 1289211 - Rename InfallibleTArray to nsTArray in hal/ r=gsvelto 2019-07-10 03:30:52 +00:00
image Backed out 10 changesets (bug 1523638) for causing high frequency Android 7.0 mochitests failures CLOSED TREE 2019-07-23 05:13:32 +03:00
intl Bug 1567437 - Add memory reporter for hyphenation data. r=njn 2019-07-23 09:11:00 +00:00
ipc Backed out 10 changesets (bug 1523638) for causing high frequency Android 7.0 mochitests failures CLOSED TREE 2019-07-23 05:13:32 +03:00
js Bug 1544429: Part 0: Fix non-unified ARM build r=tcampbell 2019-07-22 17:22:15 +00:00
layout Bug 1567237 - Only use scroll range to select scrollable frames to scroll to, don't use scrollbar visibility. r=tnikkel 2019-07-23 22:04:31 +00:00
media Bug 1539225 - Update AudioIPC to pick up backend selection & context name support. r=chunmin 2019-07-23 19:34:52 +00:00
memory Bug 1523276 - Implement PHC, a probabilistic heap checker. r=glandium,gsvelto 2019-07-03 09:26:11 +10:00
mfbt Bug 1567944 - remove *DISABLE_INTEGRAL_CONSTANT_OVERFLOW_WARNING macros; r=dmajor 2019-07-23 08:02:48 +00:00
mobile Bug 1568279. Remove some unnecessary QIs to nsIDOMChromeWindow. r=nalexander 2019-07-23 19:08:55 +00:00
modules Bug 1523706 - Consider strictly enforcing MIME checks for Worker scripts. r=ckerschb 2019-07-16 20:40:03 +00:00
mozglue Bug 1567465 - Default BlockIndex used as empty value index before any valid entry - r=gregtatum 2019-07-19 16:10:30 +00:00
netwerk Bug 1523706 - Consider strictly enforcing MIME checks for Worker scripts. r=ckerschb 2019-07-16 20:40:03 +00:00
nsprpub Bug 1562330 - Upgrade Firefox 70 to NSPR 4.22 beta1. r=me 2019-07-09 17:40:27 +02:00
other-licenses Bug 1458385: Package mar and mbsdiff as a toolchain; r=glandium 2019-07-11 16:40:13 +00:00
parser Bug 1565129 - Re-introduce plain_text.wrap_long_lines. r=bzbarsky 2019-07-11 18:49:50 +00:00
python Bug 1567619 - Avoid double stat in preprocessed file installs; r=glandium 2019-07-23 03:03:36 +00:00
remote Bug 1567436 - Support consecutive dispatchKeyEvents with the same type r=remote-protocol-reviewers,ochameau 2019-07-22 19:23:01 +00:00
security Bug 1565575 - Allow access to AudioComponentRegistrar when doing audio remoting on OSX to be able to use system decoders. r=haik 2019-07-22 08:22:40 +00:00
services Bug 1563180 - Prevent synchronization to be ran in parallel multiple times r=glasserc 2019-07-22 13:50:04 +00:00
servo Bug 1568083 - Fix servo build and rustfmt / tidy recent changes. 2019-07-23 02:18:36 +02:00
startupcache Bug 1554162 - Enable ESLint for startupcache/. r=froydnj 2019-05-25 02:07:26 +00:00
storage Bug 1565056, merge ImgDecoder and mozStorage threads in THREAD_WAKEUP telemetry, r=tnikkel,asuth 2019-07-11 04:03:44 +00:00
taskcluster Bug 1525373 - Use run-task for mozharness jobs on generic-worker. r=tomprince 2019-07-23 16:12:53 +00:00
testing Bug 1564282 - Extract `Perftest` abstract base class. r=rwood,perftest-reviewers 2019-07-23 21:58:46 +00:00
third_party Bug 1567457 - Vendor rust depencies: add ringbuf. r=kinetik 2019-07-23 12:03:31 +00:00
toolkit Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley 2019-07-23 22:04:40 +00:00
tools Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley 2019-07-23 22:04:40 +00:00
uriloader Bug 1567614: Part 3 - Use ShellExecuteByExplorer in nsMIMEInfoWin; r=jmathies 2019-07-23 20:18:21 +00:00
view Bug 1557371 - Part 2 - Load all XUL crashtests with chrome privilege. r=dbaron 2019-07-09 19:40:42 +00:00
widget Bug 1567614: Part 2 - Add ShellExecuteByExplorer overload to handle absolute PIDL lists; r=jmathies 2019-07-23 20:18:07 +00:00
xpcom Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj 2019-07-22 20:27:39 +00:00
xpfe/appshell Backed out 10 changesets (bug 1523638) for causing high frequency Android 7.0 mochitests failures CLOSED TREE 2019-07-23 05:13:32 +03:00
.arcconfig
.clang-format Bug 1547143 - Force the pointer style declaration r=Ehsan 2019-05-01 08:46:08 +00:00
.clang-format-ignore Bug 1563903 - Remove libmar from the clang ignore list r=Ehsan 2019-07-08 15:39:24 +00:00
.cron.yml Bug 1565630 - Do searchfox C++/Rust indexing on ESR68. r=RyanVM 2019-07-15 17:55:20 +00:00
.eslintignore Bug 1556849 - Enable ESLint for dom/base/. r=Standard8,mccr8 2019-07-15 17:22:45 +00:00
.eslintrc.js Bug 1564555 - Enable some more ESLint rules for layout. r=Standard8,dholbert 2019-07-18 21:00:21 +00:00
.flake8 Bug 1542963 - Fix most flake8 issues in python/mozbuild/mozbuild/* r=firefox-build-system-reviewers,chmanchester 2019-05-28 14:22:20 +00:00
.gdbinit
.gdbinit_python Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.git-blame-ignore-revs Bug 1564862 - Update .git-blame-ignore-revs to ignore reformatting m-c using Prettier (bug 1561435) in blame/annotate, r=sylvestre 2019-07-10 13:47:38 +00:00
.gitattributes Bug 770286: Prevent git LF-to-CRLF autoconversion r=glandium 2019-07-06 02:36:03 +00:00
.gitignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hg-annotate-ignore-revs Bug 1563763 - Ignore reformatting m-c using Prettier (bug 1561435) in in blame/annotate, r=standard8, CLOSED TREE, DONTBUILD 2019-07-05 17:53:06 +02:00
.hg-format-source Bug 1556393 - Pre 1 (m-c): Update .hg-format-source to use Prettier when running format-source, r=andi, CLOSED TREE 2019-07-03 20:48:37 +02:00
.hgignore Bug 1559479 - mach lint complains about newtab node_modules r=dmose 2019-07-12 15:24:07 +00:00
.hgtags No bug - Tagging mozilla-central e596664275d5e3e2fdcb7fa8d1447289f99269c3 with FIREFOX_NIGHTLY_69_END a=release DONTBUILD CLOSED TREE 2019-07-08 16:13:40 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
.prettierrc Bug 1551218 - Part 3: Add a top-level .prettierrc and reformat the debugger, r=jlast 2019-05-17 15:51:36 +00:00
.taskcluster.yml Bug 1542233 - Add link to treeherder for all notification emails r=tomprince 2019-07-08 18:47:27 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-07-08 17:27:36 +00:00
Cargo.lock Bug 1539225 - Vendor Rust. r=chunmin 2019-07-23 19:38:48 +00:00
Cargo.toml Bug 1550640 - P4: Remove bincode. r=Gankro 2019-07-12 06:12:33 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1565706 - Allow to run `mach build rust` without setting MOZ_RUST_TIER. r=froydnj 2019-07-15 23:50:31 +00:00
README.txt
aclocal.m4 Bug 1557583 - Add a --enable-frame-pointers option. r=chmanchester 2019-06-12 22:30:46 +00:00
build.gradle Bug 1515248 - Upgrade to Android-Gradle plugin 3.2.1 and build-tools 28.0.3. r=agi 2019-07-20 17:27:53 +00:00
client.mk
client.py
configure.in
configure.py Bug 1559975 - Make configure.py lint with 'py2' and 'py3' r=catlee 2019-07-08 17:34:09 +00:00
gradle.properties Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander 2019-02-14 18:21:13 +00:00
gradlew
gradlew.bat Bug 1527796 - Part 3. Use gradlew.bat on Windows. r=nalexander 2019-02-26 11:06:12 +09:00
mach
moz.build Bug 1560425 - Remove old performance measurement API r=jorendorff 2019-07-02 14:37:17 +00:00
moz.configure Bug 1560340 - Only add confvars.sh as a dependency to config.status when it exists. r=chmanchester 2019-06-20 18:43:25 +00:00
mozilla-config.h.in
old-configure.in Bug 1567888 - remove unneeded QT-related rules and configure bits; r=nalexander 2019-07-22 18:53:43 +00:00
package-lock.json Bug 1567134 - Update the node modules packages for the builders. r=ahal 2019-07-18 13:10:40 +00:00
package.json Bug 1564138 - Fix DevTools PropTypes errors when updating eslint. r=Ola. 2019-07-17 10:35:44 +00:00
settings.gradle Bug 1543982 - Part 1: Avoid re-configuring from within Gradle. r=emilio 2019-05-09 20:38:48 +00: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.