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

12410 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Alvarez 51b1017370 Bug 1734226 - Use a single pref to determine whether system colors follow the Firefox theme. r=desktop-theme-reviewers,dao
Now that windows is going to support dark colors, we want to make it
behave like other platforms in this regard.

Having a single pref for this seems better.

Differential Revision: https://phabricator.services.mozilla.com/D127624
2021-10-06 15:29:59 +00:00
Sandor Molnar c4af240897 Backed out 4 changesets (bug 1730998) for frequent Android gv-junit failures. CLOSED TREE
Backed out changeset 92641110e5c9 (bug 1730998)
Backed out changeset 7e496a4d1b55 (bug 1730998)
Backed out changeset 60d769e12932 (bug 1730998)
Backed out changeset 64a2b879aa79 (bug 1730998)
2021-10-06 16:43:50 +03:00
sotaro bbbd304278 Bug 1732733 - Add support of window occlusion on Windows by disabling it by pref r=jrmuizel,gfx-reviewers
Implementation is basically borrowed from chromium's NativeWindowOcclusionTrackerWin. For now, window occlusion could be applied only to toplevel window with compositor. Overview of current implementation is the following.
https://github.com/sotaroikeda/firefox-diagrams/blob/master/widget/widget_WinWindowOcclusionTracker_94.pdf

Capability of window occlusion is disabled by pref. VirtualDesktop handling is going to be handled by Bug 1732737.
nsPrintDialogUtil.cpp is moved to non-unified source to avoid build failure.

Differential Revision: https://phabricator.services.mozilla.com/D126710
2021-10-06 07:21:59 +00:00
Hiroyuki Ikezoe 508b513463 Bug 1730998 - Remove apz peek messages stuff. r=botond
This stuff is now a no-op because the RequestContentRepaint message has a
higher priority than vsync.

Differential Revision: https://phabricator.services.mozilla.com/D127593
2021-10-06 01:07:37 +00:00
Alexandru Michis 485a54ca75 Backed out changeset b61b692cfbce (bug 1670058) for causing bustages in nsHttpChannel.cpp
CLOSED TREE
2021-10-05 19:49:52 +03:00
june wilde e864a69420 Bug 1670058 - support Global Privacy Control signal; r=smaug,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126966
2021-10-05 15:00:30 +00:00
Emilio Cobos Álvarez e50c80851e Bug 1734115 - Add basic support for dark form controls to nsNativeBasicTheme. r=mstange
For that:

 * Tweak the standin system colors to match the non-native theme.

 * Use those system colors for button and field backgrounds.

 * Rename the "should use system colors" bit to "is high contrast",
   which is what it really is (specially now that we use system colors
   also in non-high-contrast).

Border colors and other colors like the <input type=range> and such
might need some extra tweaking perhaps, but this is a decent start and
looks good in https://crisal.io/tmp/form-controls.html afaict (dark mode
toggle needs the color-scheme pref enabled of course).

Differential Revision: https://phabricator.services.mozilla.com/D127533
2021-10-05 14:40:52 +00:00
alwu 4b8179ea2b Bug 1722171 - use time threshold to determine if we need to skip to next key frame. r=bryce
In bug1692881, we introduced a mechanism to skip to next key frame if video decoding is too slow, which aims to help slow decoding issue on high resolution videos. Eg. 4k+.

However, there are some cases which would also lead to slow decoding. Eg. when internal seek (seek on one track only) happens on a place where we can't seek to directly, we need to seek to the previous keyframe and then decode all of them until we get the target frame.

That could lead to spending huge amount of time if the target frame is far from the keyframe, and causes decoded video frame later than the media time because audio won't stop playing during video seek. However, in above example, there would only be few frames later than the media time, and the video will soon catch up with the time.

As we only want to trigger this mechanism for continually slow decoding problem, and completely removing this mechanism would lead us fallback to the situation where some 4K+ videos would be frozen all the time during the playback.

In this patch, we introduce a method which still keep this mechanism but won't perform that as aggressive as before, this uses the time threshold to seek to the next keyframe when video has been late for too long.

Differential Revision: https://phabricator.services.mozilla.com/D126858
2021-10-05 00:00:02 +00:00
Emilio Cobos Alvarez 3e78dd6549 Bug 1030660 - Disable ClearBogusContentEncodingIfNeeded. r=necko-reviewers,valentin
Other browsers don't do this and it causes compat issues.

Differential Revision: https://phabricator.services.mozilla.com/D127255
2021-10-02 16:40:36 +00:00
Dragana Damjanovic 04599ffe8f Bug 1718520 - Disable early-data if a SSL_ERROR_PROTOCOL_VERSION_ALERT is received r=mt
If amount of origins that have early-data disabled exceeds certain amount, disable early-data for all origins

This is controlled by prefs.

Differential Revision: https://phabricator.services.mozilla.com/D126555
2021-10-01 12:14:21 +00:00
Timothy Nikkel 8e8f11e1e6 Bug 1733520. Remove apz.nonwr.activate_all_scroll_frames* prefs. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D127219
2021-10-01 09:13:32 +00:00
Emilio Cobos Álvarez 11e13ddfae Bug 1733340 - Disable backdrop-filter for now. r=jnicol
There are a fair amount of performance and correctness issues that need
to be worked on, and at least I don't have the time to work on them
right now, so let's disable it until some of the issues blocking
bug 1578503 are fixed.

Differential Revision: https://phabricator.services.mozilla.com/D127085
2021-09-30 11:07:11 +00:00
Emily McDonough 7833c4252b Bug 1723239 - Enable layout.css.page-size.enabled in Nightly r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D126161
2021-09-29 20:05:47 +00:00
Brad Werth 09ff3640b9 Bug 1733148: Turn off video specialization for M1 Macs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D126952
2021-09-29 17:49:22 +00:00
Butkovits Atila b50c2af0df Backed out changeset b9506763c2f6 (bug 1723239) for causing xpcshell failures in test_css-properties-db.js. CLOSED TREE 2021-09-29 05:42:05 +03:00
Emily McDonough 7f9fd32891 Bug 1723239 - Enable layout.css.page-size.enabled in Nightly r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D126161
2021-09-28 22:56:37 +00:00
Dimi 461b6bb1e9 Bug 1732901 - Enable multi-page login form in beta and release r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D126779
2021-09-28 18:07:57 +00:00
Emilio Cobos Álvarez 63a33c5d0c Bug 1730867 - Use native scrollbars on Android. r=mstange
We only draw a scrollbar thumb, so it's easy enough (fair amount of
boilerplate, though).

For now I've done the trivial thing (keep painting a round thumb without
other fancy things), as that's what we were doing, but in the future we
should consider drawing a stroke around the thumb like cocoa does to add
more contrast.

This patch does change behavior in some cases. For example dark websites
now get a lighter, easier to distinguish scrollbar, thanks to the
scrollbar darkening code in nsNativeBasicTheme.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D125826
2021-09-28 17:04:34 +00:00
Sandor Molnar 79f93e7a8b Backed out changeset fa3496e5bb76 (bug 1732726) for causing multiple failures on win webrender. CLOSED TREE 2021-09-28 20:55:56 +03:00
Csoregi Natalia 58cdf74c34 Backed out 3 changesets (bug 1730867) for multiple reftest failures. CLOSED TREE
Backed out changeset aed4ce969bb6 (bug 1730867)
Backed out changeset 84abb450636b (bug 1730867)
Backed out changeset bbd4d5126a19 (bug 1730867)
2021-09-28 19:47:49 +03:00
Makoto Kato 5f5a220996 Bug 1648332 - Ship enterkeyhint in release. r=smaug
`enterkeyhint` defines action label to present the enterkey of virtual
keyboard.

Actually, This attribute and setter/getter support on WebKit and Blink.
Even if desktop browsers (WebKit/macOS, Blink/Windows, Blink/macOS and
Blink/Linux) cannot set the enter key label on virtual keyboard, this is
supported.

So I would like to ship this to all platforms.

If this value is changed on desktop browser, it is unaffected.

Differential Revision: https://phabricator.services.mozilla.com/D126171
2021-09-28 13:29:53 +00:00
Emilio Cobos Álvarez 5510570ab7 Bug 1730867 - Use native scrollbars on Android. r=mstange
We only draw a scrollbar thumb, so it's easy enough (fair amount of
boilerplate, though).

For now I've done the trivial thing (keep painting a round thumb without
other fancy things), as that's what we were doing, but in the future we
should consider drawing a stroke around the thumb like cocoa does to add
more contrast.

This patch does change behavior in some cases. For example dark websites
now get a lighter, easier to distinguish scrollbar, thanks to the
scrollbar darkening code in nsNativeBasicTheme.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D125826
2021-09-28 12:52:42 +00:00
Nicolas Silva e648f2a4c5 Bug 1732726 - Use PBO uploads on Windows. r=gfx-reviewers,gw
A couple of years ago we had observed that the way ANGLE emulated PBOs was slower than using glTexSubImage2D.
Since then ANGLE added a fast path which performs better, especially in frames with a large amount of pixels are uploaded.

Switching to PBOs on windows gives us better performance overall and will let us remove some code paths.

Differential Revision: https://phabricator.services.mozilla.com/D126697
2021-09-28 09:57:47 +00:00
Valentin Gosu 0504488366 Bug 1731054 - Reenable bug1708673 without perf regression r=necko-reviewers,kershaw
Depends on D126360

Differential Revision: https://phabricator.services.mozilla.com/D126361
2021-09-28 07:08:28 +00:00
criss b7aa1288e9 Backed out 5 changesets (bug 1730867) for causing multiple reftest failures. CLOSED TREE
Backed out changeset 3a0215aefdf5 (bug 1730867)
Backed out changeset 6d0aac048440 (bug 1730867)
Backed out changeset 12f9678771c8 (bug 1730867)
Backed out changeset 315dd0b76f3f (bug 1730867)
Backed out changeset 894f76b91190 (bug 1730867)
2021-09-28 06:41:46 +03:00
criss 9d7155125b Backed out 2 changesets (bug 1731792) for causing devtools failures on browser_console_error_source_click.js
Backed out changeset 567d4eb7bc83 (bug 1731792)
Backed out changeset db57b8568ae9 (bug 1731792)
2021-09-28 06:15:28 +03:00
Nika Layzell 2793bb97a7 Bug 1731792 - Part 1: Avoid cycling between processes when navigating within a tab, r=smaug
This patch replaces the previous process selection infrastructure with a
new setup implemented entirely in C++, which should more accurately
track the set of processes in use, and should encourage re-use of the
existing content process when navigating by not counting the current
tab.

This approach intentionally allows for process switching to another
process during navigation if there is uneven load between processes to
encourage balanced process use.

I think this may also fix some of the session restore issues with many
tabs using the same process, rather than being spread over 4, as we now
track a tab earlier in its lifecycle before the BrowserParent instance
is created.

Differential Revision: https://phabricator.services.mozilla.com/D126405
2021-09-27 22:34:20 +00:00
Butkovits Atila 24d8b4f45f Backed out 2 changesets (bug 1731792) for causing mochitest failures.
Backed out changeset 44c28a29bbd8 (bug 1731792)
Backed out changeset 51bdb1d4baab (bug 1731792)
2021-09-27 18:54:29 +03:00
Emilio Cobos Álvarez 8696d678e8 Bug 1730867 - Use native scrollbars on Android. r=mstange
We only draw a scrollbar thumb, so it's easy enough (fair amount of
boilerplate, though).

For now I've done the trivial thing (keep painting a round thumb without
other fancy things), as that's what we were doing, but in the future we
should consider drawing a stroke around the thumb like cocoa does to add
more contrast.

This patch does change behavior in some cases. For example dark websites
now get a lighter, easier to distinguish scrollbar, thanks to the
scrollbar darkening code in nsNativeBasicTheme.cpp.

Differential Revision: https://phabricator.services.mozilla.com/D125826
2021-09-27 13:56:49 +00:00
Nika Layzell e1a2352d73 Bug 1731792 - Part 1: Avoid cycling between processes when navigating within a tab, r=smaug
This patch replaces the previous process selection infrastructure with a
new setup implemented entirely in C++, which should more accurately
track the set of processes in use, and should encourage re-use of the
existing content process when navigating by not counting the current
tab.

This approach intentionally allows for process switching to another
process during navigation if there is uneven load between processes to
encourage balanced process use.

I think this may also fix some of the session restore issues with many
tabs using the same process, rather than being spread over 4, as we now
track a tab earlier in its lifecycle before the BrowserParent instance
is created.

Differential Revision: https://phabricator.services.mozilla.com/D126405
2021-09-27 13:49:32 +00:00
Tetsuharu Ohzeki 9fe3e79bd8 Bug 1732328 - Remove dead gfx.layerscope.*** pref. r=gfx-reviewers,jrmuizel
There is no actual user of `gfx.layerscope.enabled` that toggle
LayerScope now. We can remove them.

Differential Revision: https://phabricator.services.mozilla.com/D126511
2021-09-25 16:22:24 +00:00
Cristian Tuns b517c9f37b Backed out changeset dd075a074e45 (bug 1730518) for causing content crashes (bug 1732479). CLOSED TREE 2021-09-24 14:42:22 -04:00
Stephen A Pohl 5b382e5ac7 Bug 1732367: Turn on by default exiting of fullscreen on escape key press on macOS. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D126534
2021-09-23 20:09:44 +00:00
Paul Adenot 84d65ae0d2 Bug 1730518 - Use less memory for the AudioIPC shmem on Window 32-bits. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D126521
2021-09-23 16:21:02 +00:00
Nicolas Silva 0752cfb5cb Bug 1731610 - Add new prefs in WebRender with less boilerplate. r=gfx-reviewers,jrmuizel
Right now adding a dynamic pref for webrender involves plumbing in gfxPlatform, gfxVars, CompositBridgeParent, WebRenderBridgeParent, WebRenderAPI, the bindings, and then messaging the pref change to the right thread in WebRender.

That's quite a bit time consuming for something we tend to do for multiple things.

We already have a pretty good system for boolean debug prefs where the pref only needs to be listed in gfxPlatform and in the DebugPref enum of webrender_api/lib.rs, which has led us to use it for non-debug purposes.

This patch adds a system similar to the DebugFlags with values passed in a bitfield to be able to use gfxVars. In WebRender the parameters are key-value pairs which flow through the pipeline so that any component can react to them. A followup will add integer parameters.

The patch also moves a few prefs to this system and adds a pref to use PBO uploads.

Differential Revision: https://phabricator.services.mozilla.com/D126100
2021-09-23 15:17:46 +00:00
Tetsuharu Ohzeki 6e5b4a4b03 Bug 1732225 - Remove unused layers.bench.enabled pref. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D126439
2021-09-23 13:57:38 +00:00
Tetsuharu Ohzeki c826c6f392 Bug 1732227 - Remove unused layers.componentalpha.enabled pref. r=gfx-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D126446
2021-09-23 13:57:29 +00:00
Jonathan Kew 681e970a3c Bug 1715507 - Support different levels of font-visibility per context, depending on tracking/fingerprinting protection settings. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D124196
2021-09-23 13:36:17 +00:00
Benjamin VanderSloot db3aaa0e59 Bug 1671182 - Remove "cache" feature from Clear-Site-Data. r=johannh
Reflecting our discussion, the cache clearing is now gated behind a flag, privacy.clearsitedata.cache.enabled.

Differential Revision: https://phabricator.services.mozilla.com/D126229
2021-09-23 13:00:32 +00:00
Tetsuharu Ohzeki 0544054e5f Bug 1732221 - Remove unused layers.geometry.*** prefs. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D126434
2021-09-23 04:03:57 +00:00
criss 030acf123e Backed out changeset 93c3353b48f1 (bug 1723239) for causing failures on css/cssom/page-descriptors.html. CLOSED TREE 2021-09-23 03:43:14 +03:00
Emily McDonough bd8d70ec16 Bug 1723239 - Enable layout.css.page-size.enabled in Nightly r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D126161
2021-09-22 23:02:36 +00:00
Micah Tigley 0743fa1388 Bug 1731668 - Move downloads spam prevention work behind a pref. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D126296
2021-09-22 22:38:17 +00:00
Cristian Tuns 676acd6c27 Backed out changeset 03a33d194255 (bug 1731668) for causing mochitest failures on browser_download_spam_permissions.js. CLOSED TREE 2021-09-22 12:23:56 -04:00
Micah Tigley 5ecbe6bdff Bug 1731668 - Move downloads spam prevention work behind a pref. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D126296
2021-09-22 15:26:59 +00:00
Narcis Beleuzu a750766613 Backed out changeset da95455590d7 (bug 1475641) for marionette crashes on test_profile_management.py . CLOSED TREE 2021-09-22 01:19:18 +03:00
Kershaw Chang 72e0fa0067 Bug 1475641 - Move PAProxyAutoConfig to socket process, r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D125855
2021-09-21 19:54:29 +00:00
Brad Werth ef0c1fc263 Bug 1731815: Set pref gfx.core-animation.specialize-video to true for all users. r=gfx-reviewers,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D126250
2021-09-21 15:55:40 +00:00
Butkovits Atila 4b46b9b45b Backed out 3 changesets (bug 1719939, bug 1726437, bug 1730262) for causing failures on test_browserGlue_migration_ctrltab_recently_used_order.js.
Backed out changeset ea1653e9644f (bug 1719939)
Backed out changeset 01f90db715a7 (bug 1726437)
Backed out changeset c0e23b2acfbb (bug 1730262)
2021-09-21 05:15:31 +03:00
Junjie Ying 9b3839d3ba Bug 1719939 - Remove last fragments of code manually checking the browser.proton.enabled pref. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D125345
2021-09-21 00:03:49 +00:00