Commit Graph

22322 Commits

Author SHA1 Message Date
Norisz Fay
110c61a1d8 Merge mozilla-central to autoland CLOSED TREE 2023-06-09 18:34:03 +03:00
Brad Werth
9256e56ea5 Bug 1802193 Part 1: Turn macOS native fullscreen pref on for Nightly. r=mac-reviewers,spohl
Differential Revision: https://phabricator.services.mozilla.com/D162890
2023-06-09 13:43:39 +00:00
Andrew Osmond
62bf794063 Bug 1792758 - Part 2. Expose CanvasFilter on OffscreenCanvasRenderingContext2D. r=webidl,lsalzman,emilio,smaug
This patch exposes the filter operation for OffscreenCanvas and works
off the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D179995
2023-06-09 13:38:40 +00:00
Gregory Pappas
47e164dc13 Bug 1837608 - Remove unused gfx.allow-texture-direct-mapping pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D180422
2023-06-09 13:20:58 +00:00
Haik Aftandilian
7ad5889711 Bug 1837329 - Enable the new Media Plugin Helper executable for the macOS GMP process r=nika
Pref on using the Media Plugin Helper executable for the Mac GMP child process.

Differential Revision: https://phabricator.services.mozilla.com/D180291
2023-06-09 02:54:42 +00:00
Chris Peterson
88f288a7b8 Bug 1837343 - Remove the "network.http.useragent.forceVersion" pref. r=necko-reviewers,valentin
When Firefox hit version 100 (2022-03-08), some websites broke when parsing the three-digit version number. We could use Firefox’s site interventions to send a version 99 UA string to those sites, but we can’t override the UA for enterprise intranet sites we don't know about. So the "network.http.useragent.forceVersion" pref was added (in bug 1753805) to allow enterprise admins to force a version 99 UA string if needed.

Now that the Firefox 100 release is 14 months behind us and the next ESR (version 115) is riding the trains, we can confidently remove the pref. Enterprise admins using ESR will have another year of using the pref in ESR 115. Then they'll need to fix their intranet sites to work with Firefox 100+.

Differential Revision: https://phabricator.services.mozilla.com/D180302
2023-06-09 02:14:02 +00:00
Florian Quèze
5369496be1 Bug 1836191 - remove PerformanceCounters.sys.mjs, r=willdurand.
Differential Revision: https://phabricator.services.mozilla.com/D179698
2023-06-08 21:53:18 +00:00
Gregory Pappas
fe2b1bbb7f Bug 1835449 - Remove gfx.draw-color-bars and gfx.e10s.hide-plugins-for-scroll r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D179291
2023-06-08 18:28:16 +00:00
Sean Feng
6f2dc7bfcf Bug 1837045 - Enable BFCache for pages with beforeunload event listeners on Desktop in Release r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D180131
2023-06-08 14:01:10 +00:00
Tim Huang
f2748be09b Bug 1829643 - Remove the pref "privacy.resistFingerprinting.randomization.enabled" and "privacy.resistFingerprinting.testGranularityMask". r=tjr,anti-tracking-reviewers,bvandersloot
This patch removes the pref for fingerprinting randomization in favor of
the RFPTargets. We will check if any fingerprinting randomization target
is enabled to decide if we need to generate session and random key.

This patch also removes the testGranularityMask pref that is no longer
needed.

Differential Revision: https://phabricator.services.mozilla.com/D178680
2023-06-08 09:19:29 +00:00
Emilio Cobos Álvarez
fb308bcf11 Bug 1835923 - Unify parallel and sequential traversal scheduling. r=smaug
Use in_place_scope_fifo to spawn work into the thread pool while doing
work in the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D179492
2023-06-08 08:29:55 +00:00
Nico Grunbaum
c888b45db8 Bug 1836414 - add a pref for aboutwebrtc autofresh;r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D179840
2023-06-07 22:43:08 +00:00
Glenn Watson
ac06fd0bb8 Bug 1836726 - Allow disabling subpixel AA in WR via preference r=gfx-reviewers,lsalzman
Previously, this was hard coded to off for android, on for everything
else. With this change, it's controlled by a preference which
defaults to off for android, and on for everything else. This allows
users to disable subpixel AA on desktop for performance reasons.

Differential Revision: https://phabricator.services.mozilla.com/D180009
2023-06-07 20:20:28 +00:00
Jan de Mooij
302ec1c38d Bug 1835876 part 2 - Disable code write protection in content processes. r=nbp
We've worked with the security and performance teams to re-evaluate the W^X policy
we have in place to mark JIT code memory pages as either writable or executable
(but not both).

Recommendation from the security team is to disable this mitigation in the content
process, because it's not worth the performance cost since there are known and reusable
techniques to bypass it. The V8 team has recently reached a similar conclusion.

We still leave write protection enabled in the parent process and other non-content
processes, because performance is less of a concern there and it's unclear if the techniques
to bypass this mitigation apply to these processes as well.

This patch adds a `javascript.options.content_process_write_protect_code` pref for this
and sets it to false. The JS shell has a new `--write-protect-code=off/on` flag. This
defaults to `on` for now to help catch W^X violations early on.

This is expected to improve performance on Speedometer 3 by about 3-4%. We've seen similar
numbers for other benchmarks including page load measurements.

Depends on D179468

Differential Revision: https://phabricator.services.mozilla.com/D179469
2023-06-07 16:34:51 +00:00
Nika Layzell
9f4d22f4e0 Bug 1826206 - Require nsISerialEventTarget for RetargetDeliveryTo, r=necko-reviewers,valentin
This avoids potential issues where multiple OnDataAvailable callbacks or
similar could theoretically be called concurrently on different
StreamTransportService threads when targeting the STS - these cases will
now target a TaskQueue on the STS instead, structurally ensuring serial
execution.

Differential Revision: https://phabricator.services.mozilla.com/D179984
2023-06-07 14:48:38 +00:00
Emilio Cobos Álvarez
46e70a849e Bug 1837174 - Remove :nth-child(... of) pref. r=zrhoffman
We ship this, and the front-end uses it by default, so remove the pref.

Differential Revision: https://phabricator.services.mozilla.com/D180222
2023-06-07 14:38:45 +00:00
Valentin Gosu
9cccae41fc Bug 1836322 - End jar inflation if nothing to read r=jesup
Depends on D162239

Differential Revision: https://phabricator.services.mozilla.com/D179796
2023-06-07 10:46:24 +00:00
Mark Banner
6725448902 Bug 1834176 - Convert consumers of NetUtil.jsm to import the ES module directly. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-06-07 08:42:36 +00:00
Norisz Fay
e5b6fe9dcd Backed out 3 changesets (bug 1835876) for causing process crashes on [@ NS_ABORT_OOM] CLOSED TREE
Backed out changeset 503f95d5ddc5 (bug 1835876)
Backed out changeset 9d31a829691c (bug 1835876)
Backed out changeset 1ce5ad17da6b (bug 1835876)
2023-06-06 22:37:24 +03:00
Narcis Beleuzu
09250813d0 Backed out changeset 3765a21fa94c (bug 1706377) for wpt failure on 001.html . CLOSED TREE 2023-06-06 17:43:11 +03:00
Jan de Mooij
3d410f7cb3 Bug 1835876 part 2 - Disable code write protection in content processes. r=nbp
We've worked with the security and performance teams to re-evaluate the W^X policy
we have in place to mark JIT code memory pages as either writable or executable
(but not both).

Recommendation from the security team is to disable this mitigation in the content
process, because it's not worth the performance cost since there are known and reusable
techniques to bypass it. The V8 team has recently reached a similar conclusion.

We still leave write protection enabled in the parent process and other non-content
processes, because performance is less of a concern there and it's unclear if the techniques
to bypass this mitigation apply to these processes as well.

This patch adds a `javascript.options.content_process_write_protect_code` pref for this
and sets it to false. The JS shell has a new `--write-protect-code=off/on` flag. This
defaults to `on` for now to help catch W^X violations early on.

This is expected to improve performance on Speedometer 3 by about 3-4%. We've seen similar
numbers for other benchmarks including page load measurements.

Differential Revision: https://phabricator.services.mozilla.com/D179469
2023-06-06 12:16:46 +00:00
Kershaw Chang
07e167fb3b Bug 1816677 - Allow to retry diffrent IP family for Http/3, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D179541
2023-06-06 11:15:18 +00:00
Vincent Hilla
f6c40d202b Bug 1731504 - Explicitly call capturing listeners before bubbling listeners on target. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D178776
2023-06-06 09:08:14 +00:00
Kershaw Chang
b8fe0dda5f Bug 1706377 - Call VerifyTraffic for every network change event, r=necko-reviewers,valentin
For mozvpn, the data received in network change event is "up", not "changed", so we should call VerifyTraffic for every event for safe.
This patch also reduces http2.ping-timeout and http2.ping-threshold, since the original values are too long.

Differential Revision: https://phabricator.services.mozilla.com/D179681
2023-06-06 08:20:26 +00:00
Haik Aftandilian
91fff12722 Bug 1827747 - Use a new executable for the macOS GMP process r=nika,glandium
Use a new executable for the GMP process named "<App Name> Media Plugin Helper" so that the content processes (using the plugin-container executable) and the GMP process can be signed with different entitlements allowing for the use of more secure entitlements.

In order for the new executable to load the Widevine plugin, a change is needed in the codesigning infrastructure repo to generate the .sig file for the new executable.

To get the security benefits of using a new executable for GMP, additional changes are needed in the codesigning infrastructure repo to enable signing plugin-container and the new executable with a reduced set of entitlements.

The executable is a copy of plugin-container renamed as "<App Name> Media Plugin Helper" so it appears with a user friendly name in Activity Monitor. For example, "Firefox Media Plugin Helper". (The GMP process runs with limited privileges preventing it from setting its own "nice" process name.)

Pref off the change until the .sig file change lands and media playback has been validated on production builds.

Differential Revision: https://phabricator.services.mozilla.com/D175796
2023-06-05 20:40:10 +00:00
Emilio Cobos Álvarez
8fb7636d74 Bug 1835066 - [css-nesting] Enable on nightly. r=dholbert
Even though there's some implementation work left before it being in a
shippable state, the bits that do work (which is quite a few) should
work reliably and performantly.

Given this is (afaict) the first implementation of the new spec, I want
to let people test it easier, specially since there are some questions
about error recovery that nesting could change.

Differential Revision: https://phabricator.services.mozilla.com/D179271
2023-06-04 10:22:29 +00:00
Stanca Serban
c75ef6f238 Backed out 3 changesets (bug 1833244) for causing multiple failures.
Backed out changeset 7bc8c25b2935 (bug 1833244)
Backed out changeset 4576af83a4ec (bug 1833244)
Backed out changeset 90a5bbba7b9c (bug 1833244)
2023-06-03 18:36:21 +03:00
Jonathan Watt
ae4a3b7b1e Bug 1833244 p1. Disable pref layout.css.page-orientation.enabled. r=dholbert
This disables the pref for now so that the following patch doesn't change any
behavior. We'll re-enable the pref shortly.

Differential Revision: https://phabricator.services.mozilla.com/D179858
2023-06-03 14:21:37 +00:00
Mark Banner
5d59c7aecd Bug 1824613 - Convert consumers of toolkit/mozapps/extensions/ to import ES modules directly. r=extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,sync-reviewers,sgalich,bytesized,robwu,skhamis
Depends on D179819

Differential Revision: https://phabricator.services.mozilla.com/D179820
2023-06-02 20:00:35 +00:00
Jan-Ivar Bruaroey
704c909a66 Bug 1836377 - Restore permission-based exposure of camera/microphone device labels when media.devices.enumerate.legacy.enabled is true. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D179730
2023-06-02 19:25:20 +00:00
Nico Grunbaum
a2ce4d8879 Bug 1836417 - pref on aboutwebrtc hist for linux;r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D179753
2023-06-02 17:37:26 +00:00
Iulian Moraru
c10126be84 Backed out changeset cbef096ccab3 (bug 1836377) for causing mochitest-media failures on test_enumerateDevices.html. CLOSED TREE 2023-06-02 20:58:42 +03:00
Jan-Ivar Bruaroey
b8973aa847 Bug 1836377 - Restore permission-based exposure of camera/microphone device labels when media.devices.enumerate.legacy.enabled is true. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D179730
2023-06-02 16:33:47 +00:00
Greg Tatum
4ada37bfe8 Bug 1836503 - Fix the translations pref declaration to be Firefox Desktop only; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D179829
2023-06-02 15:43:07 +00:00
Manuel Bucher
71b9b688bf Bug 1836255 - Set network.early-hints.preconnect.max_connections to 10 also in non-nightly channels r=necko-reviewers,jesup
This is fine to be always non-zero, because the variable is only read if
network.early-hints.preconnect.preconnect is set to true

Differential Revision: https://phabricator.services.mozilla.com/D179684
2023-06-02 12:49:37 +00:00
Valentin Gosu
50fdf1286d Bug 1835805 - Remove odoh code r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D179456
2023-06-02 12:49:33 +00:00
Valentin Gosu
056175d0a1 Bug 1677718 - Completely remove AppCache API implementation r=necko-reviewers,emilio,jesup
Depends on D179337

Differential Revision: https://phabricator.services.mozilla.com/D179420
2023-06-02 07:55:23 +00:00
Dan Robertson
a82782ad56 Bug 1836406 - Enable wheel event groups by default on early beta. r=botond
Enable wheel event groups by default on early beta.

Differential Revision: https://phabricator.services.mozilla.com/D179746
2023-06-02 03:30:22 +00:00
Butkovits Atila
7d7bba388d Backed out changeset 9ccaad4630db (bug 1816677) for causing DNS related crashes (bug 1837252). a=backout 2023-06-09 12:33:06 +03:00
Emilio Cobos Álvarez
20b915489a Bug 1804657 - Remove dead code related to having native theme in content on Linux. r=stransky
Since the headless work (bug 1129492 and co) we realistically have no
way of rendering native scrollbars in any meaningful way. Remove dead
code that used to support using a different GTK theme on content.

Differential Revision: https://phabricator.services.mozilla.com/D179616
2023-06-01 07:37:33 +00:00
Valentin Gosu
3f70670b85 Bug 1677718 - Disable the AppCache API on release
This API has been disabled on nightly and early beta for a long time.
We have kept the API available in release in order to avoid
triggering any bugs in webapps that assume the API is there, but the
cache backing has been removed a few years back.

Considering this has also been removed in Chrome, it's quite safe
to disable and completely remove it from Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D179337
2023-06-01 07:12:41 +00:00
Cosmin Sabou
e678b16e56 Backed out 2 changesets (bug 1677718) for causing appcache wpt failures.
Backed out changeset 2b6b58a6fe2f (bug 1677718)
Backed out changeset d1cfc37a01b3 (bug 1677718)
2023-06-01 02:18:51 +03:00
Nico Grunbaum
7b11dbcef0 Bug 1830790 - P2 - webrtc stats history prefs;r=bwc
Depends on D176858

Differential Revision: https://phabricator.services.mozilla.com/D176859
2023-05-31 19:57:59 +00:00
Joshua Marshall
d88c6be303 Bug 1828627 - Make dom.storage.enabled a static pref r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D178593
2023-05-31 18:31:35 +00:00
Natalia Csoregi
c56876519a Backed out 19 changesets (bug 1830790) for causing failures on test_peerConnection_extmapRenegotiation.html. CLOSED TREE
Backed out changeset db4607bbd6d1 (bug 1830790)
Backed out changeset f40f865d0542 (bug 1830790)
Backed out changeset a855ea2a86ce (bug 1830790)
Backed out changeset f8ab14e89266 (bug 1830790)
Backed out changeset c234e91383df (bug 1830790)
Backed out changeset f460416a4c52 (bug 1830790)
Backed out changeset 53848fcc501f (bug 1830790)
Backed out changeset 31754aa2ac82 (bug 1830790)
Backed out changeset 994a28147fd3 (bug 1830790)
Backed out changeset cfb3a9040263 (bug 1830790)
Backed out changeset 416dc905b314 (bug 1830790)
Backed out changeset 8867c53e1827 (bug 1830790)
Backed out changeset 5885fd524e71 (bug 1830790)
Backed out changeset a1185664d37a (bug 1830790)
Backed out changeset 95473364c681 (bug 1830790)
Backed out changeset 85e101a4ff1a (bug 1830790)
Backed out changeset 6fd62bd98d73 (bug 1830790)
Backed out changeset a3d1461f8928 (bug 1830790)
Backed out changeset fcb4c264369e (bug 1830790)
2023-05-31 19:52:03 +03:00
Natalia Csoregi
448ccac0b9 Backed out changeset af645c9220f1 (bug 1835805) for causing bustage on DNSPacket.cpp. CLOSED TREE 2023-05-31 18:52:13 +03:00
Julian Descottes
6286f2150f Bug 1704521 - [devtools] Add a preference to disable the F12 shortcut r=devtools-reviewers,fluent-reviewers,nchevobbe,flod
Depends on D143835

Differential Revision: https://phabricator.services.mozilla.com/D179463
2023-05-31 15:26:36 +00:00
Julian Descottes
2476e7a6e9 Bug 1704521 - [devtools] Remove F12 experiment preference r=devtools-reviewers,nchevobbe
Depends on D143833

Differential Revision: https://phabricator.services.mozilla.com/D143835
2023-05-31 15:26:36 +00:00
Valentin Gosu
7ba32109b0 Bug 1835805 - Remove odoh code r=necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D179456
2023-05-31 15:05:06 +00:00
Natalia Csoregi
657a1685ea Merge mozilla-central to autoland. a=merge CLOSED TREE 2023-05-31 17:00:49 +03:00