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
Go to file
Timothy Nikkel 2cabfdfe65 Bug 1671331. Create a new test-only pref that disables the zoom part of ZoomToFocusedInput and use it in layout/base/tests/ mochitests. r=botond
layout/base/tests/test_bug332655-1.html calls focus on an element, this triggers a call to zoomToFocusedInput. This can zoom the parent document of the test, the mochitest harness.

Then test layout/base/tests/test_bug667512.html runs. It ends by synthesizing a left arrow key and then a right arrow key. With the old scrollbar code this results in no scrolling because there is no layout scrolling that can be done either in the test or the parent document. With the new scrollbar code we can scroll the visual viewport using the keyboard so this scrolls the visual viewport of the test harness (because it got zoomed from a previous test).

The test harness being scrolled means that the synthesized click in the next test test_bug677878 can not hit its intended target.

Using the pref apz.zoom-to-focused-input.enabled to disable zoom to focused input in this directory does work to fix this, but I'm tired of doing that.

I think the proper fix here would be to disable scrolling/zooming of the test harness document. Since it's the root content document and it is not scrollable if not zoomed this is equivalent to disabling the zooming part of zoom to focused input (except for tests that open their own window). To test the zooming part of zoom to focused input we can use a test that opens it's own window: we have gfx/layers/apz/test/mochitest/test_group_zoomToFocusedInput.html for this.

We already have the pref formhelper.autozoom would seems like it would work for this purpose, except it is entangled with java stuff in mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java that I don't really understand that means setting the pref in mochitest.ini doesn't seem to take affect.

So I created a new pref we can use specifically for this purpose. Hopefully we can use it instead of fully disabling the zoom to focused input, so we more closely test what we ship.

Differential Revision: https://phabricator.services.mozilla.com/D95423
2020-10-30 23:32:09 +00:00
.cargo Bug 1667736 - Update packed_simd to compile on Rust 1.48. r=glandium 2020-10-30 08:29:53 +00:00
.vscode
accessible Bug 1672776 - Return nil TextMarker(Range) if GeckoTextMarker(Range) is invalid. r=morgan 2020-10-30 04:41:20 +00:00
browser Backed out 2 changesets (bug 1674234) for SM bustages on PreXULSkeletonUI.cpp . CLOSED TREE 2020-10-31 01:01:33 +02:00
build Bug 1626555 - Add dom/power to the list of non-unified-build-compatible directories. r=sg 2020-10-29 16:22:53 +00:00
caps Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
chrome Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
config Bug 1673769 - Use the right data file for ICU on big endians. r=firefox-build-system-reviewers,dmajor 2020-10-28 02:54:17 +00:00
devtools Bug 1673419 - [devtools] Ignore existing typescript violations in devtools/client/performance-new r=gregtatum 2020-10-30 17:27:50 +00:00
docs Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
docshell Bug 1673702 - Wrong page loaded when reloading after navigating back across an eTLD+1 boundary. r=smaug 2020-10-30 23:49:14 +00:00
dom Bug 1671331. Create a new test-only pref that disables the zoom part of ZoomToFocusedInput and use it in layout/base/tests/ mochitests. r=botond 2020-10-30 23:32:09 +00:00
editor Bug 1581246 - Add reported testcase as a crashtest (the crash was fixed by bug 1666556) r=m_kato 2020-10-30 12:03:59 +00:00
extensions Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
gfx Bug 1671331. Skip gfx/layers/apz/test/mochitest/helper_bug1669625.html on android. r=kats 2020-10-30 22:32:36 +00:00
gradle/wrapper
hal Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
image Bug 1653458: re-enable test_bug1325080.html for fission+xorigin r=kashav 2020-10-30 17:05:15 +00:00
intl Bug 1673539 - Multiply by 100 when using style percent in Fluent. r=dminor 2020-10-29 16:21:54 +00:00
ipc Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
js Bug 1502355 - Rename |JS::InitAbortSignalHandling| to |JS::InitPipeToHandling|, because this embedder interface is going to get a lot more pipeTo-specific shortly... r=arai 2020-10-30 21:22:04 +00:00
layout Bug 1671331. Create a new test-only pref that disables the zoom part of ZoomToFocusedInput and use it in layout/base/tests/ mochitests. r=botond 2020-10-30 23:32:09 +00:00
media Bug 1674463 - allow HD simulcast stream to start a bit earlier. r=ng 2020-10-30 21:44:54 +00:00
memory Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
mfbt Bug 1665462 - Add moving Vector::appendAll(Vector&&) overload. r=jwalden 2020-10-29 19:41:43 +00:00
mobile Bug 1674211: Part 2 - Explicitly mark GeckoProcessType.fromInt as WrapForJNI; r=geckoview-reviewers,agi 2020-10-29 20:55:35 +00:00
modules Bug 1671331. Create a new test-only pref that disables the zoom part of ZoomToFocusedInput and use it in layout/base/tests/ mochitests. r=botond 2020-10-30 23:32:09 +00:00
mozglue Backed out 2 changesets (bug 1674234) for SM bustages on PreXULSkeletonUI.cpp . CLOSED TREE 2020-10-31 01:01:33 +02:00
netwerk Bug 1663571 - Fix linting. r=fix CLOSED TREE 2020-10-30 16:17:53 +02:00
nsprpub
other-licenses Bug 1461690 Part 3: HttpPostFile plugin for uploading uninstall ping via POST. r=mhowell 2020-10-20 23:20:25 +00:00
parser Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
python Bug 1673871 - fix test for win32 r=padenot 2020-10-30 15:46:38 +00:00
remote Bug 1673350 - [puppeteer] Mark click test as known intermittent r=remote-protocol-reviewers,whimboo 2020-10-27 14:50:02 +00:00
security Bug 1665462 - Use moving Vector::appendAll overload at a few places, or use move assignment. r=jwalden 2020-10-29 15:04:13 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM 2020-10-29 14:35:28 +00:00
servo Bug 1673930 - Use document quirks mode rather than sheet quirks mode for stylesheet invalidation. r=nordzilla 2020-10-30 19:47:19 +00:00
startupcache Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
storage Bug 1639552 - Use NS_WARNING instead of sqlite3_log. r=dom-workers-and-storage-reviewers,janv 2020-10-29 10:14:37 +00:00
taskcluster Bug 1673419 - [devtools] Run performance node tests in the devtools-tests suite on CI r=nchevobbe 2020-10-30 17:20:04 +00:00
testing Bug 1673885 - Don't expose incomplete sheets in LinkStyle.sheet / Document.styleSheets. r=nordzilla 2020-10-30 23:30:14 +00:00
third_party Bug 1674312 Add pipewire directory to WebRTC component, r=dminor 2020-10-30 14:40:53 +00:00
toolkit Bug 1671508 - Convert some urlbar histograms to scalars. r=harry 2020-10-27 11:36:15 +00:00
tools Bug 1673521 - move all browser tests into browser folder in order to adopt browser-test eslint setting automatically. r=Standard8 2020-10-29 19:32:26 +00:00
uriloader Backed out 6 changesets (bug 1565574) as per dev's request. CLOSED TREE 2020-10-29 12:55:28 +02:00
view Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
widget Bug 1673728 - Default to adding phase information to the synthesized scroll events on macOS. r=tnikkel 2020-10-30 18:33:54 +00:00
xpcom Bug 1673670 - Add vprintf style nsVprintfCString + tests. r=xpcom-reviewers,sg 2020-10-29 14:55:07 +00:00
xpfe/appshell Bug 1666874 - Support maximized windows for skeleton UI r=agashlin 2020-10-29 19:04:02 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1667674 - [Wayland] Support public primary-selection unstable protocol. r=stransky 2020-10-02 09:13:06 +00:00
.cron.yml
.eslintignore Bug 1669956 - [devtools] Enable eslint for devtools/client/shared/components/reps. r=jdescottes. 2020-10-14 11:33:16 +00:00
.eslintrc.js Bug 1656280 - Enable remaining ESLint rules for widget/test/*.xhtml files. r=mhowell 2020-10-26 17:37:26 +00:00
.flake8 Bug 1673700 - Don't use double quotes around strings in definition of fork_interpose r=firefox-build-system-reviewers,glandium 2020-10-29 15:47:14 +00:00
.git-blame-ignore-revs Bug 1673690 - Add bugs 1654103, 1672023 to .git-blame-ignore-revs, .hg-annotate-ignore-revs r=nalexander DONTBUILD 2020-10-27 18:22:09 +00:00
.gitattributes
.gitignore
.hg-annotate-ignore-revs Bug 1673690 - Add bugs 1654103, 1672023 to .git-blame-ignore-revs, .hg-annotate-ignore-revs r=nalexander DONTBUILD 2020-10-27 18:22:09 +00:00
.hg-format-source
.hgignore
.hgtags No bug - tagging 6d98cc745df58e544a8d71c131f060fc2c460d83 with FIREFOX_NIGHTLY_83_END a=release DONTBUILD CLOSED TREE 2020-10-19 16:38:59 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
aclocal.m4
AUTHORS
build.gradle
Cargo.lock Bug 1667736 - Update packed_simd to compile on Rust 1.48. r=glandium 2020-10-30 08:29:53 +00:00
Cargo.toml Bug 1667736 - Update packed_simd to compile on Rust 1.48. r=glandium 2020-10-30 08:29:53 +00:00
client.mk Bug 1671424 - Move configure execution from client.mk to mach configure. r=firefox-build-system-reviewers,rstewart 2020-10-20 20:41:52 +00:00
client.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
CLOBBER
configure.in Bug 1671424 - Move configure execution from client.mk to mach configure. r=firefox-build-system-reviewers,rstewart 2020-10-20 20:41:52 +00:00
configure.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach Bug 1638986 - Run 'mach talos-test' with python 3; r=sparky,perftest-reviewers 2020-10-29 00:23:51 +00:00
Makefile.in Bug 1674236 - Call $(PYTHON3) mach instead of mach in a few places in Makefiles r=nalexander 2020-10-30 16:08:14 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
moz.configure Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
mozilla-config.h.in
old-configure.in Bug 1121822 - Remove NS_ENABLE_TSF r=m_kato,masayuki 2020-10-29 01:46:05 +00:00
package-lock.json Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8 2020-10-02 18:00:40 +00:00
package.json Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8 2020-10-02 18:00:40 +00:00
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

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

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


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 Firefox developers for
testing, may be buggy.