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

19466 Коммитов

Автор SHA1 Сообщение Дата
Mike Kaply 65c099cdbf Bug 1719301 - Remove version number from Windows SSO pref and policy. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D119187
2021-07-06 18:18:53 +00:00
Jonathan Kew 81b88e2c93 Bug 1719239 - Disable support for content:none on elements due to webcompat issues. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D119188
2021-07-06 15:39:06 +00:00
Jed Davis 2257145e1c Bug 1635451 - Minimize content processes' connections to the X server. r=jgilbert,stransky,nika
This patch launches content processes with the `MOZ_HEADLESS` env var set
if they're using GTK with an X11 display (and there's no other reason
they'd need GTK).

The goal is to avoid exhausting Xorg's default limit of 256 clients if
there are many content processes due to Fission.  If these conditions
are met, the content process doesn't need to eagerly connect to the X
server.  This does not affect the sandbox policy, and content processes
can still use X if needed for, e.g.,  WebGL.

The boolean pref `dom.ipc.avoid-gtk`, set by default, controls this
feature.  In the future it could also be extended to minimize GTK use
with Wayland displays.

Note that disabling `widget.non-native-theme.enabled`, which is also
enabled by default, will restore the use of X11 in all content processes
even if this pref is set; the alternative is that widgets wouldn't render
in that case.

This change will also save some memory for now-unnecessary instances of
GTK's global state, and improve content process startup time.

Remove also the temp pref dom.ipc.remote-mozIcon because it cannot work
anymore with the content process being headless.

Differential Revision: https://phabricator.services.mozilla.com/D112197
2021-07-06 07:42:42 +00:00
Jed Davis f925052cd2 Bug 1695381 - Use IPC for content processes' moz-icon URL loading. r=tnikkel,nika
Differential Revision: https://phabricator.services.mozilla.com/D118596
2021-06-26 01:15:01 +00:00
Toshihito Kikuchi 309abd3615 Bug 1713855 - Part1: Remove the Third-Party Modules section from about:support. r=Gijs
Now that the about:third-party page landed (bug 1695817), we can remove the predecessor.
This patch reverts the Part10 patch of bug 1669036 (d9f8cdf2877b), keeping the other patches
which are required for about:third-party page.

Differential Revision: https://phabricator.services.mozilla.com/D118382
2021-06-25 22:22:03 +00:00
Andrew Creskey 32478151d9 Bug 1716606 - Replace keyup handling of history metadata typing metrics with C++ implementation r=Standard8,smaug
Due to measured performance issues in the Chrome process, moving this code to C++.

Differential Revision: https://phabricator.services.mozilla.com/D118178
2021-06-25 19:40:36 +00:00
Randell Jesup 5a97b746f9 Bug 1717122: Reduce preallocated processes for low-memory machines r=nika
Differential Revision: https://phabricator.services.mozilla.com/D118228
2021-06-25 18:57:23 +00:00
Christoph Kerschbaumer 15f7d2932c Bug 1654488: Remove pref in CheckLoadURIWIthFlags which allows all UI resources to load r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D118817
2021-06-25 17:28:59 +00:00
Jeff Muizelaar e71c762245 Bug 1717117: Enable low-quality-pinch-zoom pref on Android Nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D118224
2021-06-25 14:48:50 +00:00
Florian Quèze cd399a71a2 Bug 1717991 - Remove ifdefs around code that adds profiler markers with custom marker schemas, r=gerald.
Differential Revision: https://phabricator.services.mozilla.com/D118680
2021-06-25 13:28:01 +00:00
Brindusan Cristian cbab773bbe Backed out changeset 318e0d51cffb (bug 1717117) for causing reftest failures in 1696439-1.html.
CLOSED TREE
2021-06-25 12:46:59 +03:00
Brad Werth f0edc4ed46 Bug 1717117: Enable low-quality-pinch-zoom pref on Android Nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D118224
2021-06-25 00:59:53 +00:00
Mike Hommey 2d0f251819 Bug 1717947 - Don't build the brotli host program. r=firefox-build-system-reviewers,nalexander
We now have no use for it. Remove the corresponding source, which we
added in bug 1355671 just for this.

Differential Revision: https://phabricator.services.mozilla.com/D118656
2021-06-25 00:20:11 +00:00
Mike Hommey a53b913e63 Bug 1717947 - Remove support for brotli streams in Jar archives. r=valentin
This was added in bug 1355661, has been kept Nightly-only since then,
and was only used briefly for omni.ja, and eventually we switched
compression off entirely on omni.ja. If we ever switch compression on
again on omni.ja, it would likely be with zstd, which is much faster
on the compression side.

Differential Revision: https://phabricator.services.mozilla.com/D118654
2021-06-25 00:20:10 +00:00
Denis Palmeiro f8473d146f Bug 1717642 - Add a pref to force full parse for OMT compiled JS scripts from the ScriptLoader. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D118494
2021-06-24 15:13:42 +00:00
Kagami Sascha Rosylight 66ab2e605c Bug 1717552 - Remove dom.select_events.enabled r=masayuki,smaug
Differential Revision: https://phabricator.services.mozilla.com/D118639
2021-06-24 12:30:35 +00:00
Nihanth Subramanya e78d4b3565 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 23:28:16 +00:00
Dorel Luca 1779a0d311 Backed out 2 changesets (bug 1713036, bug 1714486) for XPCshell failures in netwerk/test/unit/test_trr.js. CLOSED TREE
Backed out changeset 06c40198b074 (bug 1713036)
Backed out changeset 41800e77c675 (bug 1714486)
2021-06-23 23:02:46 +03:00
Nihanth Subramanya 8c4bb92c84 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 15:24:01 +00:00
Christoph Kerschbaumer 2224c15d86 Bug 1717797: HTTPS-First and HTTPS-Only: Convert static 3000ms background request delay to rely on a pref r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D118581
2021-06-23 11:46:50 +00:00
Dale Harvey 79494e7550 Bug 1714259 - Remove REGION_LOCATION_SERVICES_DIFFERENCE telemetry. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D118061
2021-06-23 08:25:08 +00:00
Emilio Cobos Álvarez d18129e143 Bug 1715513 - Make Linux also override the mousewheel scroll speed. r=stransky
We have been doing this on Windows for a very very long time, to
increase perceived performance.

Given the default scroll speed on Linux matches windows without the
override, it makes sense doing it on Linux as well, for the same
reasons.

Differential Revision: https://phabricator.services.mozilla.com/D117286
2021-06-23 07:54:42 +00:00
Cosmin Sabou edeaffb831 Backed out 3 changesets (bug 1714486, bug 1713036) for xpcshell failures on test_trr.js. CLOSED TREE
Backed out changeset 5161c4f25f80 (bug 1713036)
Backed out changeset 6ce07df62710 (bug 1713036)
Backed out changeset c824fe9b4adb (bug 1714486)
2021-06-23 08:00:36 +03:00
Mats Palmgren e0fbda09f4 Bug 1699964 - [css-content] Implement 'content: none' for elements. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D114130
2021-06-23 02:52:42 +00:00
Nihanth Subramanya 44665bb834 Bug 1713036 - Use Remote Settings config in DoH preferences UI. r=jaws,preferences-reviewers,necko-reviewers,valentin
Depends on D116798

Differential Revision: https://phabricator.services.mozilla.com/D117960
2021-06-23 02:29:19 +00:00
Kagami Sascha Rosylight 751f4ef52c Bug 1717612 - Disable window.sidebar from early-beta-or-earlier r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D118472
2021-06-22 16:05:45 +00:00
Kagami Sascha Rosylight d7c2b12fbe Bug 1717072 - Add window.clientInformation r=annevk,smaug
Differential Revision: https://phabricator.services.mozilla.com/D118466
2021-06-22 12:38:13 +00:00
Christoph Kerschbaumer 7c157fdfc3 Bug 1716991: Enable HTTPS-First Mode in PBM Mode r=arthuredelstein
Differential Revision: https://phabricator.services.mozilla.com/D118165
2021-06-22 12:33:45 +00:00
Valentin Gosu 66462a439a Bug 1696138 - Make a copy of the host before calling getaddrinfo r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D118010
2021-06-22 09:19:55 +00:00
Valentin Gosu 35bfc0713b Bug 1708673 - Do not recreate CacheEntry when OPEN_READONLY flag is passed r=necko-reviewers,dragana
This bug is caused by two cache visitors working in parallel:
Visitor1: calls asyncDoomURI
Visitor2: calls asyncOpenURI

This causes CacheStorageService::AddStorageEntry to create a new entry and add
it to the hashtable:
https://searchfox.org/mozilla-central/rev/308ea44d0d60b391b031ccee695920bd543f7d2f/netwerk/cache2/CacheStorageService.cpp#1566,1574,1576

Visitor3: will then go through the hashtable and see the newly added entry.

Differential Revision: https://phabricator.services.mozilla.com/D118344
2021-06-22 08:23:36 +00:00
Peter Van der Beken 4c923c87d0 Bug 1715300 - Enable BFCache in parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D117185
2021-06-21 15:05:12 +00:00
Henri Sivonen 7df7939f77 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 12:09:01 +00:00
Dorel Luca 2118316ba4 Backed out changeset 4891a17c55e2 (bug 1713627) for Browser-chrome failures in docshell/test/browser/browser_bug673087-1.js. CLOSED TREE 2021-06-21 12:10:54 +03:00
Henri Sivonen abbbf94915 Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk
Differential Revision: https://phabricator.services.mozilla.com/D116391
2021-06-21 08:09:43 +00:00
Matt Woodrow 1c5debc65c Bug 1717162 - Allow extra tick mode to ride the trains. r=bas
Differential Revision: https://phabricator.services.mozilla.com/D118251
2021-06-18 05:26:52 +00:00
Kershaw Chang d8811704f9 Bug 1714506 - Force a transaction to wait for HTTPS RR, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117234
2021-06-17 14:17:48 +00:00
Robert Mader 437336e8de Bug 1708416 - Implement n-buffering for the Wayland software backend, r=stransky
In order to fully comply with the spec and work on all compositors.
This is heavily inspired by `NativeLayerCA`:
 - Buffer are managed within a pool, similar to `SurfacePool`. This
   makes sure there's always a buffer available, even if the compositor
   holds buffers for longer than usually expected. One difference is
   that buffers are not shared between windows though, reducing
   complexity.
 - Partial damage is handled by blitting from the previous buffer,
   likely currently held by the Wayland compositor. While the spec is
   not completely clear whether this is legal, it strongly suggests it
   is - and other Wayland developers suggested it should be.
   This is almost identical to `NativeLayerCA::HandlePartialUpdate`,
   with a small optimization for the common case of double buffering,
   in witch case use a "damage history", inspired by the EGL partial
   damage support. As single or double buffering are by far the most
   common cases for shm-buffers, we limit this to double buffering to
   avoid complexity.

Changes compared to the existing `WindowSurfaceWayland` include:
 - reduced complexity:
   - less code
   - no extra frame callbacks, avoiding extra steps like D117911
 - no compositor specific modes - this solution should always produce
   fully correct output with minimal overhead.

Note: a previous version of this patch only worked for SW-WR but not
Basic and thus did not replace `WindowSurfaceWayland`. Now this patch
supports both, making it possible to fully replace `WindowSurfaceWayland`

Differential Revision: https://phabricator.services.mozilla.com/D118025
2021-06-17 13:19:14 +00:00
Christoph Kerschbaumer c0afcb9eea Bug 1709838: Enable HTTPS-First Mode in PBM Mode in Nightly r=arthuredelstein
Differential Revision: https://phabricator.services.mozilla.com/D114500
2021-06-16 18:18:30 +00:00
Mike Kaply cade41ef59 Bug 1695693 - Add support for Windows 10 SSO on Firefox. r=valentin,necko-reviewers,dveditz,johannh
Differential Revision: https://phabricator.services.mozilla.com/D114540
2021-06-16 14:24:43 +00:00
Dorel Luca 40bc5fd8ee Backed out changeset da918efb2d2e (bug 1709838) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_contentBlockingAllowListPrincipal.js. CLOSED TREE 2021-06-16 17:55:10 +03:00
Landry Breuil c68790f2b9 Bug 1713745 - push all the knobs to enable RDD on OpenBSD r=gcp
Depends on D116635

Differential Revision: https://phabricator.services.mozilla.com/D116636
2021-06-16 09:26:12 +00:00
Christoph Kerschbaumer 23f169108b Bug 1709838: Enable HTTPS-First Mode in PBM Mode in Nightly r=arthuredelstein
Differential Revision: https://phabricator.services.mozilla.com/D114500
2021-06-16 08:47:00 +00:00
Jon Coppeard b45ba442df Bug 1715562 - Turn on use of external thread pool for JS helper tasks r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D117521
2021-06-16 08:13:40 +00:00
Anny Gakhokidze 95c3dbf0de WIP: Bug 1713713 - Remove pref that decides if OriginAttributes should be used in a remote type r=nika
Differential Revision: https://phabricator.services.mozilla.com/D117926
2021-06-16 00:31:15 +00:00
Sandor Molnar 24464ffe50 Backed out changeset 03adf4f72ed9 (bug 1709838) for causing mochitest failures. CLOSED TREE 2021-06-15 22:58:08 +03:00
Christoph Kerschbaumer 58fc4233f4 Bug 1709838: Enable HTTPS-First Mode in PBM Mode in Nightly r=arthuredelstein
Differential Revision: https://phabricator.services.mozilla.com/D114500
2021-06-15 18:41:29 +00:00
Jonathan Kew 758d22f014 Bug 1716433 - Create a pref to determine whether Windows font substitutes are applied always, or only as fallback for unavailable fonts. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D117890
2021-06-15 16:44:24 +00:00
Kershaw Chang b7427a5f15 Bug 1700405 - Make it possible to skip the NS check when a host is added into blocked list, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D117284
2021-06-15 13:59:10 +00:00
Yaron Tausky 768366d7b8 Bug 1496997 - Remove dom.serviceWorkers.parent_intercept pref r=asuth,dom-workers-and-storage-reviewers,perftest-reviewers,jgraham,sparky,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D101788
2021-06-15 08:52:39 +00:00
Kris Maglione b3c34d273e Bug 1646560: Part 1 - Move some XPCShell content helpers to generic shared module. r=nika
They were originally written for the extension framework, but have been used
more and more widely ever since.

Differential Revision: https://phabricator.services.mozilla.com/D114898
2021-06-15 04:40:10 +00:00