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

19830 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez a968c81236 Bug 560067 - Remove image.mem.allow_locking_in_content_processes. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D122115
2021-10-11 10:25:47 +00:00
Kershaw Chang 467f33dd4d Bug 1732150 - Remove MITIGATION_DYNAMIC_CODE_DISABLE when we want to parsing PAC on socket process, r=bobowen
Differential Revision: https://phabricator.services.mozilla.com/D127552
2021-10-11 08:30:41 +00:00
stransky bfd5190061 Bug 1734368 [Wayland] Use async FlushRendering on Wayland, r=sotaro
Synced FlushRendering() causes deadlock on Wayland.
Main thread is blocked at MessageChannel::WaitForSyncNotify() and it's not processing events from system.
Rendering thread is blocked at RendererOGL::UpdateAndRender() / eglQuerySurface(). Mesa is waiting for free back buffer
at get_back_bo(), it's spinning wl_display_roundtrip_queue() and waiting for free buffer but it doesn't get one as main loop is blocked.

Differential Revision: https://phabricator.services.mozilla.com/D127878
2021-10-09 15:26:49 +00:00
Iulian Moraru fbb38e7e80 Backed out 3 changesets (bug 1729563) for causing spidermonkey build bustages on unscopables.js. CLOSED TREE
Backed out changeset bc37e17a2ad6 (bug 1729563)
Backed out changeset 10a0cbbb62fd (bug 1729563)
Backed out changeset 8da51dd69cee (bug 1729563)
2021-10-08 18:38:36 +03:00
Tim Chevalier 937632cada Bug 1729563 - Add shell flag for change-array-by-copy methods r=mgaudet
Add a build flag and shell flag for enabling change-array-by-copy methods.
The flags currently have no effect.

Differential Revision: https://phabricator.services.mozilla.com/D127201
2021-10-08 15:12:15 +00:00
Sergey Galich f00d159f71 Bug 1730194 - Prevent Copy button to send information to Cloud Clipboard and Clipboard History on Windows r=dimi,johannh,cmartin
Differential Revision: https://phabricator.services.mozilla.com/D125831
2021-10-07 15:32:03 +00:00
Randell Jesup ef6201cb3e Bug 1698522: Process name setting cleanup r=nika,dveditz
Differential Revision: https://phabricator.services.mozilla.com/D108446
2021-10-07 14:57:10 +00:00
Emilio Cobos Álvarez 73805fe284 Bug 1734325 - Make the disable_xul_cache pref prevent chrome resources from getting cached. r=smaug
Do some drive-by clean-up, and remove telemetry for this since add-ons
can no longer tweak this pref.

Differential Revision: https://phabricator.services.mozilla.com/D127812
2021-10-07 13:29:00 +00:00
Manuel Bucher 3cc3731145 Bug 1543811 - EDNS Padding support for encrypted DNS transports r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D126480
2021-10-07 10:55:21 +00:00
Jens Stutte 8e6e0ce8c0 Bug 1731564: Use motivated SpinEventLoopUntil inside modules/*. r=Gijs,KrisWright
Depends on D127230

Differential Revision: https://phabricator.services.mozilla.com/D127231
2021-10-07 08:06:13 +00:00
june wilde 692c22b993 Bug 1670058 - support Global Privacy Control signal; r=smaug,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126966
2021-10-07 07:55:30 +00:00
Marian-Vasile Laza 18fb16c542 Backed out 18 changesets (bug 1731564) for causing build bustages on SpinEventLoopUntil. CLOSED TREE
Backed out changeset 0464dbdc8584 (bug 1731564)
Backed out changeset 0d996df13545 (bug 1731564)
Backed out changeset 5630a0e7a109 (bug 1731564)
Backed out changeset 37b41d187cdb (bug 1731564)
Backed out changeset d37700fa60b6 (bug 1731564)
Backed out changeset b0ce7db44b99 (bug 1731564)
Backed out changeset aa5ec3aa1535 (bug 1731564)
Backed out changeset 73b648f1fa70 (bug 1731564)
Backed out changeset bb8fb0f9833e (bug 1731564)
Backed out changeset 0d8905144f5d (bug 1731564)
Backed out changeset 2cfb094a1ec3 (bug 1731564)
Backed out changeset 78d3b0257a6a (bug 1731564)
Backed out changeset e9d32926e93c (bug 1731564)
Backed out changeset 874cab520ce5 (bug 1731564)
Backed out changeset d8071cc32bd9 (bug 1731564)
Backed out changeset 283c5393cbbc (bug 1731564)
Backed out changeset 317bc38e3de5 (bug 1731564)
Backed out changeset 53e3f4862439 (bug 1731564)
2021-10-07 00:09:19 +03:00
Jens Stutte 09fbcfad19 Bug 1731564: Use motivated SpinEventLoopUntil inside modules/*. r=Gijs,KrisWright
Depends on D127230

Differential Revision: https://phabricator.services.mozilla.com/D127231
2021-10-06 19:45:15 +00:00
Jon Bauman 97efb10d2e Bug 1725190 - Incorrect file extension when downloading CR3 files. r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D127291
2021-10-06 19:02:15 +00:00
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
Mike Hommey 5245f8491f Bug 1733545 - Remove REQUIRES_UNIFIED_BUILD from third-party directories that don't need it. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D127229
2021-10-01 09:01:27 +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