Граф коммитов

6575 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow f9fe60e315 Bug 1673983 - Add D3D11 RenderCompositor for SWGL. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95797
2020-11-05 09:14:52 +00:00
Markus Stange c3e353b81f Bug 1458653 - Do not prevent fling acceleration based on the time that has elapsed between two flings. r=botond,geckoview-reviewers,snorp
The other fling acceleration restrictions make it so that there is no need for
this additional restriction anymore.
Removing this restriction allows a fling to be accelerated even if the previous
fling has been "spinning" for a while (a second or more), provided that the page
is still moving fast enough.
This matches Chrome's behavior.

Differential Revision: https://phabricator.services.mozilla.com/D95472
2020-11-04 23:32:38 +00:00
Markus Stange 713c5090f1 Bug 1458653 - Don't accelerate a fling if the fingers moved too slowly at any point during the touch scroll motion. r=botond
This avoids unexpected acceleration after a "fling, fling, pan-pause-fling" sequence.

Differential Revision: https://phabricator.services.mozilla.com/D95471
2020-11-04 23:27:05 +00:00
Markus Stange f16ac1664d Bug 1458653 - Don't accelerate a fling if the fingers paused at the beginning of the touch motion. r=botond
This avoids unexpected acceleration after a "fling, fling, touch-pause-fling" sequence.

The touch start timestamp is captured when we go from NOTHING to TOUCHING,
and the pan start timestamp is captured when we go from TOUCHING to PANNING.

Differential Revision: https://phabricator.services.mozilla.com/D95470
2020-11-04 23:25:15 +00:00
J.C. Jones a193b3985c Bug 1667930 - Increase Intermediate Preload rate r=leplatrem,keeler
Since we continue to encounter reported bugs that intermediate preloading solves
_when_ it is finished, let's increase the speed. Right now preloading takes a
profile about 14 syncs. This changes that to be 1 sync, for the foreseeable
future. (There are 2454 records today [0])

[0] https://firefox.settings.services.mozilla.com/v1/buckets/security-state/collections/intermediates/records

Differential Revision: https://phabricator.services.mozilla.com/D95815
2020-11-04 17:16:26 +00:00
Tim Huang 442dee0715 Bug 1672649 - Part 2: Notify the observer when there is user-interaction or storage access permission added. r=dimi
We need to report when permission is added in order to wait it
explicitly. These will be put be hind a pref
'privacy.antitracking.testing' and should be only used for testing.

Differential Revision: https://phabricator.services.mozilla.com/D94979
2020-11-04 12:41:40 +00:00
J.C. Jones 09bb61e83c Bug 1675138 - Set CRLite to enforcement mode in Nightly-only r=keeler
We have ~10 months of CRLite telemetry-mode data in both Beta and Nightly, and about 2 months with data that has been kept up-to-date, and that telemetry agrees with our end-of-2019 experiment that CRLite should indeed speed up versus OCSP.

To confirm, we should enable the Enforce mode for Nightly users; that will stop collecting the CRLITE_FASTER_THAN_OCSP_MS and OCSP_FASTER_THAN_CRLITE_MS but should cause an improvement in SSL_TIME_UNTIL_READY as a weighting of the CRLITE_FASTER_THAN_OCSP_MS vs the percentage of cache-miss first page loads: we expect it'll mostly affect the outliers.

Differential Revision: https://phabricator.services.mozilla.com/D95814
2020-11-03 23:58:46 +00:00
Jean-Yves Avenard 167baf1906 Bug 1674043 - P4. Always have the ffvpx StaticPref. r=bryce
Should we compile without ffvpx support, we would get compilation error otherwise.

Depends on D95242

Differential Revision: https://phabricator.services.mozilla.com/D95243
2020-11-02 20:27:10 +00:00
Miko Mynttinen e312ab88d1 Bug 1674766 - Remove DisplayListChecker r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D95531
2020-11-02 20:04:37 +00:00
mcccs 039fe95a03 Bug 1667579 - Pref to manually enter NAT64 prefix. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94597
2020-11-02 08:05:10 +00:00
Emilio Cobos Álvarez 38919a1a21 Bug 1673885 - Don't expose incomplete sheets in LinkStyle.sheet / Document.styleSheets. r=nordzilla
This matches other browsers, and common sense to some extent.

The code is a bit awkward because I want this behind a pref for now, as
it's not precisely a zero-risk change.

Differential Revision: https://phabricator.services.mozilla.com/D95065
2020-11-01 15:45:40 +00:00
Timothy Nikkel 7c1dfa5de4 Bug 1671331. Enable new scrollbar code for android too. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D94222
2020-10-21 21:19:48 +00:00
Narcis Beleuzu 9e31b464f7 Backed out changeset 1ee5fddc1caf (bug 1673885) for wpt failures on ttwf-cssom-doc-ext-load-tree-order.html CLOSED TREE 2020-10-31 02:43:31 +02:00
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
Emilio Cobos Álvarez 2c6198ff82 Bug 1673885 - Don't expose incomplete sheets in LinkStyle.sheet / Document.styleSheets. r=nordzilla
This matches other browsers, and common sense to some extent.

The code is a bit awkward because I want this behind a pref for now, as
it's not precisely a zero-risk change.

Differential Revision: https://phabricator.services.mozilla.com/D95065
2020-10-30 23:30:14 +00:00
Narcis Beleuzu dc2519c7ca Backed out changeset 702857fa260e (bug 1673885) for wpt failures on ttwf-cssom-doc-ext-load-count.html CLOSED TREE 2020-10-30 23:08:37 +02:00
Emilio Cobos Álvarez f8d2ad7b26 Bug 1673885 - Don't expose incomplete sheets in LinkStyle.sheet / Document.styleSheets. r=nordzilla
This matches other browsers, and common sense to some extent.

The code is a bit awkward because I want this behind a pref for now, as
it's not precisely a zero-risk change.

Differential Revision: https://phabricator.services.mozilla.com/D95065
2020-10-30 19:24:22 +00:00
Valentin Gosu 96fa831c85 Bug 1663571 - Resolve single label DNS queries using DnsQuery_A r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D91117
2020-10-30 08:16:25 +00:00
pbz 84589d971b Bug 1565574 - Added permission required to open external protocol handlers. r=Gijs
- Added pref to toggle permission feature
- Updated ContentDispatchChooser to check for permission and  manage a multi dialog flow.

Differential Revision: https://phabricator.services.mozilla.com/D92945
2020-10-29 13:43:46 +00:00
Dorel Luca cfaedde161 Backed out 6 changesets (bug 1565574) as per dev's request. CLOSED TREE
Backed out changeset fbe972f837d9 (bug 1565574)
Backed out changeset 2852c526acd6 (bug 1565574)
Backed out changeset fa731b373f42 (bug 1565574)
Backed out changeset c7ed89a9afc7 (bug 1565574)
Backed out changeset 3e87d1b83069 (bug 1565574)
Backed out changeset 93955bcbaf4b (bug 1565574)
2020-10-29 12:55:28 +02:00
pbz 38c10056ca Bug 1565574 - Added permission required to open external protocol handlers. r=Gijs
- Added pref to toggle permission feature
- Updated ContentDispatchChooser to check for permission and  manage a multi dialog flow.

Differential Revision: https://phabricator.services.mozilla.com/D92945
2020-10-27 16:13:46 +00:00
Kagami Sascha Rosylight 8dde7f4f23 Bug 1121822 - Remove NS_ENABLE_TSF r=m_kato,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D95037
2020-10-29 01:46:05 +00:00
Gerald Squelart 661d9cff56 Bug 1673494 - Tweak profile gathering timeout, with pref "devtools.performance.recording.child.timeout_s" - r=gregtatum
Instead of a repeating timeout of only twice the parent's serialization time + 1s, use that double parent time and multiply it by the number of children, and add the number of seconds from the about:config preference "devtools.performance.recording.child.timeout_s" (still 1s by default).

Differential Revision: https://phabricator.services.mozilla.com/D94955
2020-10-28 22:17:48 +00:00
Miko Mynttinen 8f780ba14a Bug 1640197 - Part 3: Include overflowing content from the previous pages in nsPageFrame display list r=dholbert,mats
Depends on D90424

Differential Revision: https://phabricator.services.mozilla.com/D90425
2020-10-28 18:32:06 +00:00
Kershaw Chang beb27599c3 Bug 1671939 - Create speculative connection for the first service mode record, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94014
2020-10-28 13:46:16 +00:00
Emilio Cobos Álvarez 8d77656607 Bug 1673785 - Tweak lazy-loading root margin default to be 300px in all directions. r=hiro,svoisen
This is better than 0px and such, while we wait for feedback from the
perf team.

Differential Revision: https://phabricator.services.mozilla.com/D94927
2020-10-28 11:48:48 +00:00
Noemi Erli 76f9589f25 Backed out changeset 9836b528717f (bug 1673785) for causing failures in test_reframe_for_lazy_load_image.html CLOSED TREE 2020-10-28 06:23:15 +02:00
Emilio Cobos Álvarez ac8e871027 Bug 1673785 - Tweak lazy-loading root margin default to be 300px in all directions. r=hiro
This is better than 0px and such, while we wait for feedback from the
perf team.

Differential Revision: https://phabricator.services.mozilla.com/D94927
2020-10-28 02:53:54 +00:00
Jean-Yves Avenard 5cee70cce8 Bug 1572687 - Disable Gfx/Media sanity test during marionette tests. r=mattwoodrow,marionette-reviewers,whimboo,webdriver-reviewers
We know that this test will never fail with any of the hardware used by our test infrastructure. It also force create a RDD process even when not actually used in the tests; skewing the results.

Differential Revision: https://phabricator.services.mozilla.com/D94804
2020-10-28 01:12:57 +00:00
Nils Ohlmeier [:drno] 80326c0f7f Bug 1668313: added doxy.me to RTX blocklist. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D94529
2020-10-23 01:54:11 +00:00
Jeff Muizelaar fcfa9a589a Bug 1673715 - Make gfx.webrender.software a static pref. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D94885
2020-10-27 20:34:59 +00:00
Brendan Dahl c8201ae614 Bug 1673086 - Enable PDF forms by default on release. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D94644
2020-10-26 19:52:32 +00:00
Emilio Cobos Álvarez 7a1a5c1d8d Bug 1672625 - Make monochrome support on GTK work like on Mac. r=jfkthame
We do it in nsDeviceContextSpecG since that's what actually consumes the
settings. On GTK the options need to be prefixed by cups- for some
reason in order to work, so factor out a macro listing the options and
do the NSString / cups- prefixing in the platform specific places.

Differential Revision: https://phabricator.services.mozilla.com/D94479
2020-10-27 16:23:26 +00:00
Chris Jackson ebde1f9094 Bug 1670254 - Remove Picture-in-Picture toggle experimentation code now that Mode 2 has been settled on. r=mconley,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D93267
2020-10-26 19:16:53 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Emilio Cobos Álvarez f1bf65c2ee Bug 1673278 - Turn on dom.event.default_to_passive_wheel_listeners on all channels. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D94696
2020-10-26 11:58:10 +00:00
Mihai Alexandru Michis ed42a59568 Backed out changeset b3557a86d1c3 (bug 1663571) for causing mda failures in webrtc/tests/mochitests/test_peerConnection/*
CLOSED TREE
2020-10-26 16:50:37 +02:00
Makoto Kato 10c81eb07b Bug 1673155 - Add SEC CJK font to font.name-list.sans-serif / font.name-list.monospace. r=jfkthame
The default fonts of CJK on Samsung's Galaxy device seems to be SEC CJK fonts.
This seems to be modified version of Noto Sans CJK. Samsung has No. 1 market
share for Android, so we should add this fonts to default font list.

Differential Revision: https://phabricator.services.mozilla.com/D94702
2020-10-26 09:04:35 +00:00
Valentin Gosu 2da264ce5c Bug 1663571 - Resolve single label DNS queries using DnsQuery_A r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D91117
2020-10-26 11:40:22 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Bogdan Tara e7ff82d770 Backed out changeset 3da0a14a9999 (bug 1663571) for making wpt tests unable to load initial page CLOSED TREE 2020-10-24 02:38:12 +03:00
Valentin Gosu 3af312e531 Bug 1663571 - Resolve single label DNS queries using DnsQuery_A r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D91117
2020-10-15 19:31:06 +00:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Mats Palmgren 0d4b979717 Bug 1672807 - [css-grid-3] Enable masonry layout by default in Nightly. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D94522
2020-10-23 09:10:56 +00:00
Emilio Cobos Álvarez 5a616bbd7e Bug 1670943 - Add monochrome support for OSX. r=jwatt,jfkthame
See comments for fun.

Differential Revision: https://phabricator.services.mozilla.com/D93527
2020-10-23 11:58:42 +00:00
Frédéric Wang 70d15af587 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,necko-reviewers,dragana
This patch make localhost addresses resolve to a loopback address,
thereby ensuring that we can safely treat http://localhost/ and
http://*.localhost/ as "Potentially Trustworthy". This addresses
various bug reports from developers and aligns with specifications.

See https://groups.google.com/g/mozilla.dev.platform/c/sZdEYTiEBdE

Differential Revision: https://phabricator.services.mozilla.com/D92716
2020-10-22 07:36:15 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Mihai Alexandru Michis aff23da5bc Backed out changeset ae98627c9afe (bug 1671331) for causing frequent mochitest plain failures in test_bug677878.html
CLOSED TREE
2020-10-22 00:16:16 +03:00
Timothy Nikkel 7587e2f2dc Bug 1671331. Enable new scrollbar code for android too. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D94222
2020-10-21 00:12:36 +00:00