Commit Graph

23774 Commits

Author SHA1 Message Date
Julien Pages
01349c48e3 Bug 1837683 - wasm: Parsing of the custom branch hinting section. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D192986
2024-04-16 18:24:01 +00:00
Norisz Fay
9324f5ea1e Backed out changeset b9cbb65614b0 (bug 1884962) for causing bustage on ChromiumCDMProxy.cpp CLOSED TREE 2024-04-16 21:40:49 +03:00
alwu
4dd5b209a5 Bug 1884962 - report kProtectionHDCP for the protection mask. r=media-playback-reviewers,padenot
According to what Widevine told us, `kProtectionNone` will cause playback
to stop if HDCP_V1 is required. Therefore, we would report HDCP protection
if there is no potential capturing.

Differential Revision: https://phabricator.services.mozilla.com/D207483
2024-04-16 18:09:54 +00:00
Jon Coppeard
77af3c2f55 Bug 1821671 - Part 2: Add pref for setting the maximum number of marking threads to use r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D207288
2024-04-16 14:33:15 +00:00
Jonathan Kew
421d1818e1 Bug 1891545 - Migrate gfx.downloadable_fonts.disable_cache to StaticPrefList. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D207553
2024-04-16 13:42:20 +00:00
Chris Peterson
63baa88260 Bug 1873273 - Report non-x86_64 CPUs (including 32-bit x86) as "x86_64" in Linux User-Agent. r=necko-reviewers,kershaw
This will match the behavior of ARM64 Linux (bug 1861847) and Chrome reporting their CPU architecture as "Linux x86_64": https://www.chromium.org/updates/ua-reduction/#sample-ua-strings-phase-5

Goals:

1. Reduce fingerprintable entropy exposed to web content. Few websites should need to distinguish 32-bit x86 Linux users from x86_64 Linux users. One of the few that did was Mozilla's own Firefox download page and it has now been updated to use distro packages instead of sniffing the UA string to offer Mozilla's architecture-specific installer binaries. (See bugs https://github.com/mozilla/bedrock/issues/12966 and https://github.com/mozilla/bedrock/issues/14012.)

2. Reduce risk of webcompat problems from websites not recognizing unexpected CPU architectures. (Example: in bug 1861847, YouTube treated ARM64 Linux as a mobile device)

This "freezeCpu" pref controls this UA string code path:

https://searchfox.org/mozilla-central/rev/1f27a4022f9f1269d897526c1c892a57743e650c/netwerk/protocol/http/nsHttpHandler.cpp#931-937

The UA string tests already check the "freezeCpu" pref to test for either "Linux x86_64" or the actual CPU architecture:

https://searchfox.org/mozilla-central/rev/f602853ba8d55ba157e2a74d9b571615f6ed97b8/browser/components/resistfingerprinting/test/browser/browser_navigator.js#41-47,51

Differential Revision: https://phabricator.services.mozilla.com/D207238
2024-04-15 16:49:29 +00:00
Brad Werth
f603a05b15 Bug 1890939: Restrict matching of video-dynamic-range: high to macOS, via pref. r=gfx-reviewers,sotaro
Differential Revision: https://phabricator.services.mozilla.com/D207279
2024-04-15 15:06:14 +00:00
Jonathan Kew
7741c08c63 Bug 1891446 - Experimentally enable symmetrical letter-spacing in Nightly builds. r=layout-reviewers,emilio
This implements the behavior proposed in https://github.com/w3c/csswg-drafts/issues/10193.
Pending discussion of the issue there, and as input to that eventual debate, I'd like to
try enabling this behavior on Nightly to see how it goes in the wild.

This results in a bunch of failures on existing reftests, in an entirely predictable way,
because any text with letter-spacing gets offset slightly, and no longer matches with
references that assumed glyphs remain flush-left in their advance. If we do adopt the
symmetrical model across the web platform, corresponding test adjustments will be needed.

(We also get a few new passes, on tests involving letter-spacing + bidi, which is the case
where our legacy behavior is particularly poor, and the symmetrical model resolves the
issues.)

For the time being, with the pref change only on Nightly, I propose to just add pref
overrides in the manifests for the affected tests so that they stay green for both Nightly
and non-Nightly builds.

Differential Revision: https://phabricator.services.mozilla.com/D207421
2024-04-15 13:54:52 +00:00
Greg Stoll
37d28f9cf5 Bug 1869868 part 2 - do not consult DLP when copy/pasting items in the same tab r=edgar,dlp-reviewers,credential-management-reviewers,handyman,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D205744
2024-04-15 12:10:46 +00:00
Valentin Gosu
0cc9db7a12 Bug 1890999 - Let network.dns.native_https_query ride the trains r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D207265
2024-04-13 09:10:20 +00:00
Frédéric Wang
f82f883577 Bug 1890523 - Remove extra space above/below stretchy operators. r=emilio
Gecko always adds .2em space above and below stretchy operators but this
is not part of MathML Core and is causing several WPT failures. The
MATH table does not have any parameter for that so it's likely some
tweak that was added in the early days of MathML that may no longer be
necessary. This patch tentatively removes this feature by placing it
under a disabled-by-default flag.

Tests adjustments:
- table-width-1.xhtml: adjusted to work around antialiasing issue with the
  top/bottom of stretchy operators (in the past the extra space added was
  preventing this issue). This does not affect the testing goal, which is about
  the width.
- stretchy-largeop-with-default-font-2.html: Some tests are failing depending
  on the OS config so mark them as such. In the past, the extra vertical space
  added was hiding the issue.

Differential Revision: https://phabricator.services.mozilla.com/D207014
2024-04-12 14:14:23 +00:00
Ser Freeman
d2b6e6098c Bug 1810362 - Sort the addresses in a DNS lookup result so the IPv6 ones come first. r=valentin,necko-reviewers,kershaw
Introduce network.dns.preferIPv6 pref to place IPv6 addresses first in a DNS lookup result.

Differential Revision: https://phabricator.services.mozilla.com/D206843
2024-04-12 10:39:32 +00:00
Norisz Fay
189fed6949 Backed out 15 changesets (bug 1843308, bug 1889444, bug 1888504, bug 1890546, bug 1888500, bug 1848406, bug 1890782) for causing bustage on BounceTrackingProtection.h CLOSED TREE
Backed out changeset 09168636f92e (bug 1890782)
Backed out changeset 45c9c902f35f (bug 1889444)
Backed out changeset 7cd441010547 (bug 1889444)
Backed out changeset 692d3fb54e2c (bug 1890546)
Backed out changeset 4c476414499a (bug 1843308)
Backed out changeset fc70ef415bfe (bug 1888504)
Backed out changeset e400fe8e13ac (bug 1888500)
Backed out changeset 336738f93085 (bug 1888500)
Backed out changeset 40fdfaf3cc32 (bug 1848406)
Backed out changeset 6a3ec1f62811 (bug 1848406)
Backed out changeset 5ea32ea95f62 (bug 1848406)
Backed out changeset df982722bc0a (bug 1848406)
Backed out changeset 6808ec37fa93 (bug 1848406)
Backed out changeset 36b8e78cc27e (bug 1848406)
Backed out changeset d63358e762de (bug 1848406)
2024-04-11 23:07:40 +03:00
Paul Zuehlcke
f4706ee481 Bug 1888504 - Add a dry-run mode for Bounce Tracking Protection. r=bvandersloot,anti-tracking-reviewers
Adds a mode where if bounce tracking protection is enabled it classifies
but does not purge trackers. This mode is helpful for testing the feature
without risking data loss. Telemetry is still collected normally.

Differential Revision: https://phabricator.services.mozilla.com/D206518
2024-04-11 19:03:18 +00:00
Paul Zuehlcke
508ccca953 Bug 1848406 - Enable requireStatefulBounces pref by default. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203609
2024-04-11 19:03:16 +00:00
Jonathan Kew
b0166244d9 Bug 1890773 - Create a pref to control how letter-spacing is inserted around characters. r=layout-reviewers,emilio
With the pref set to 0 by default, this does not change any existing behavior.

My intention is that a following patch will set it to 2 in Nightly. This will affect
a bunch of reftests, and so test/expectation adjustments will also be needed.

Differential Revision: https://phabricator.services.mozilla.com/D207150
2024-04-11 18:41:37 +00:00
pstanciu
ff0882e981 Backed out changeset 3531a1b13af3 (bug 1890523) for causing wpt failures in table-width-1.xhtml and in stretchy-largeop-with-default-font-2.html CLOSED TREE 2024-04-11 15:37:40 +03:00
Frédéric Wang
a89aadc726 Bug 1890523 - Remove extra space above/below stretchy operators. r=emilio
Gecko always adds .2em space above and below stretchy operators but this
is not part of MathML Core and is causing several WPT failures. The
MATH table does not have any parameter for that so it's likely some
tweak that was added in the early days of MathML that may no longer be
necessary. This patch tentatively removes this feature by placing it
under a disabled-by-default flag.

Differential Revision: https://phabricator.services.mozilla.com/D207014
2024-04-11 09:59:25 +00:00
Tamas Szentpeteri
6e070882b1 Backed out changeset 6a7c866d716d (bug 1890523) for causing wpt failures in stretchy-largeop-with-default-font-2.html. CLOSED TREE 2024-04-11 12:36:32 +03:00
Frédéric Wang
a0998a4069 Bug 1890523 - Remove extra space above/below stretchy operators. r=emilio
Gecko always adds .2em space above and below stretchy operators but this
is not part of MathML Core and is causing several WPT failures. The
MATH table does not have any parameter for that so it's likely some
tweak that was added in the early days of MathML that may no longer be
necessary. This patch tentatively removes this feature by placing it
under a disabled-by-default flag.

Differential Revision: https://phabricator.services.mozilla.com/D207014
2024-04-11 08:38:19 +00:00
Karl Tomlinson
3018a1b599 Bug 1887774 add prefs to simulate drift in audio streams r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D206863
2024-04-10 18:42:35 +00:00
Sandor Molnar
29d972749f Backed out 12 changesets (bug 1843308, bug 1848406, bug 1888500, bug 1888504, bug 1890546) for causing AddressSanitizer @ xpcom/base/nsISupportsImpl.cpp & bc failures @ toolkit/components/antitracking/bouncetrackingprotection/test/browser/<...> CLOSED TREE
Backed out changeset 4537591cca64 (bug 1890546)
Backed out changeset b29ebdf1439e (bug 1843308)
Backed out changeset 7c22cf88677f (bug 1888504)
Backed out changeset b85173dc6c16 (bug 1888500)
Backed out changeset 02d68d4511c7 (bug 1888500)
Backed out changeset 42ab5bd4b856 (bug 1848406)
Backed out changeset 6ce0fba99d02 (bug 1848406)
Backed out changeset affbf180e519 (bug 1848406)
Backed out changeset 80365ce68377 (bug 1848406)
Backed out changeset d75faab0301f (bug 1848406)
Backed out changeset 940c5fd39d25 (bug 1848406)
Backed out changeset 31016e129e99 (bug 1848406)
2024-04-10 22:10:33 +03:00
Vaibhav Mali
0c88e1584e Bug 1880783 - Remove skip_cursor_move_for_same_value_set pref r=dom-core,masayuki
Differential Revision: https://phabricator.services.mozilla.com/D207025
2024-04-10 14:44:42 +00:00
Paul Zuehlcke
6f3f8b1136 Bug 1888504 - Add a dry-run mode for Bounce Tracking Protection. r=bvandersloot,anti-tracking-reviewers
Adds a mode where if bounce tracking protection is enabled it classifies
but does not purge trackers. This mode is helpful for testing the feature
without risking data loss. Telemetry is still collected normally.

Differential Revision: https://phabricator.services.mozilla.com/D206518
2024-04-10 14:12:41 +00:00
Paul Zuehlcke
243e6f9ad3 Bug 1848406 - Enable requireStatefulBounces pref by default. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203609
2024-04-10 14:12:39 +00:00
Frédéric Wang
22ec186a63 Bug 1890531 - Remove automatic adjustment for "centered operators". r=emilio
The MathML code adjust vertical position of basic binary operators with
the NS_MATHML_OPERATOR_CENTERED flag set (e.g. plus, equal or minus
signs) so that their centers align with the math axis. This behavior
is not defined in MathML Core and is not necessary in practice for math
fonts (which are already designed with the desired vertical alignments).
This patch tries and removes this by placing that legacy behavior
under a disabled-by-default runtime flag.

Intent-to-ship: https://groups.google.com/a/mozilla.org/g/dev-platform/c/nlA0t4J0gzo

Differential Revision: https://phabricator.services.mozilla.com/D207026
2024-04-10 08:57:31 +00:00
Randell Jesup
22df14537c Bug 1871963: Implement zstd content-encoding support r=necko-reviewers,valentin,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D205109
2024-04-09 15:26:46 +00:00
Tamas Szentpeteri
1f27a4022f Backed out 3 changesets (bug 1871963) for causing dt failures on browser_net_copy_as_powershell.js. CLOSED TREE
Backed out changeset 94e286542c9d (bug 1871963)
Backed out changeset dc2ad0369b86 (bug 1871963)
Backed out changeset 9fb8ccb2f305 (bug 1871963)
2024-04-09 17:24:37 +03:00
Kagami Sascha Rosylight
3c0c03353e Bug 1890329 - Use ConsoleInstance for logging r=hsingh
Differential Revision: https://phabricator.services.mozilla.com/D206929
2024-04-09 13:36:45 +00:00
Randell Jesup
b1ad40b8ee Bug 1871963: Implement zstd content-encoding support r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D205109
2024-04-09 12:31:56 +00:00
Vincent Hilla
845c6e2fc6 Bug 1874849 - Enable Screen Wake Lock API by default. r=dom-core,webidl,smaug,edgar
Differential Revision: https://phabricator.services.mozilla.com/D206372
2024-04-09 07:31:42 +00:00
Tiaan Louw
5fdf075a6d Bug 1889133 - Parse the from <color> part of the relative color syntax. r=layout-reviewers,emilio
All color functions support a from keyword as part of the relative color
syntax.

https://drafts.csswg.org/css-color-5/#relative-colors

This patch adds a pref layout.css.relative-color-syntax.enabled that is
off by default.

We start passing tests that only check for the validity of the `from`
keyword in different color functions.

Differential Revision: https://phabricator.services.mozilla.com/D206374
2024-04-08 15:26:25 +00:00
aiunusov
dde4288278 Bug 1889331 - Make dom.security.setdocumenturi enabled by default, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D206491
2024-04-08 14:25:02 +00:00
Gijs Kruitbosch
e790dbc058 Bug 1887712 - remove the unused prompts.modalType.httpAuth pref, r=pbz,necko-reviewers,credential-management-reviewers,sgalich,issammani,valentin
Differential Revision: https://phabricator.services.mozilla.com/D206684
2024-04-08 13:46:38 +00:00
keithamus
91a37a029b Bug 1887543 - Enable CustomStateSet by default. r=webidl,emilio
Differential Revision: https://phabricator.services.mozilla.com/D206883
2024-04-08 13:15:23 +00:00
Masayuki Nakano
fe2b9f4618 Bug 903746 - part 1: Add TextEvent r=smaug
Unfortunately, we returned a `CompositionEvent` for
`Document.createEvent("textevent")` because we had a text event which we stopped
exposing to the web and was replaced with `eCompositionChange` event.
Therefore, this change could potentially have a compatibility risk.

Differential Revision: https://phabricator.services.mozilla.com/D200120
2024-04-08 12:29:59 +00:00
Cosmin Sabou
783470433c Backed out 2 changesets (bug 903746) for causing non-unified build bustages on nsIPrincipal.h. CLOSED TREE
Backed out changeset c80afc8b7c2a (bug 903746)
Backed out changeset 0ac710612d09 (bug 903746)
2024-04-08 09:47:04 +03:00
Masayuki Nakano
421f87708c Bug 903746 - part 1: Add TextEvent r=smaug
Unfortunately, we returned a `CompositionEvent` for
`Document.createEvent("textevent")` because we had a text event which we stopped
exposing to the web and was replaced with `eCompositionChange` event.
Therefore, this change could potentially have a compatibility risk.

Differential Revision: https://phabricator.services.mozilla.com/D200120
2024-04-08 05:23:24 +00:00
Mark Banner
a3614754e4 Bug 1889752 - Enable the new search configuration globally on nightly builds. r=mcheang
This moves the enabling to all.js, so that it is enabled for Thunderbird as well - now that Thunderbird is set up with their own version of the configuration.

Differential Revision: https://phabricator.services.mozilla.com/D206695
2024-04-06 09:08:14 +00:00
Boris Chiou
8bc06baebe Bug 1889496 - Part 1: Parse @starting-style rule. r=layout-reviewers,firefox-style-system-reviewers,emilio
We introduce this rule and parse it in this patch. Also, fix some wpt
expectations for ERROR.

We will introduce CSSStartingStyleRule in the following patch, and test
it there.

Differential Revision: https://phabricator.services.mozilla.com/D206428
2024-04-05 21:03:06 +00:00
Cristian Tuns
ec18448a53 Backed out 2 changesets (bug 1889496) for causing build bustages in RefPtr.h CLOSED TREE
Backed out changeset 7689f9c266fc (bug 1889496)
Backed out changeset abbbf327c4f1 (bug 1889496)
2024-04-04 19:15:49 -04:00
Boris Chiou
e7e11669a6 Bug 1889496 - Part 1: Parse @starting-style rule. r=layout-reviewers,firefox-style-system-reviewers,emilio
We introduce this rule and parse it in this patch. Also, fix some wpt
expectations for ERROR.

We will introduce CSSStartingStyleRule in the following patch, and test
it there.

Differential Revision: https://phabricator.services.mozilla.com/D206428
2024-04-04 19:39:28 +00:00
Nika Layzell
a48079cd72 Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8
Previously the `boolean` type was also declared using a `bool` typedef in
xpidl, meaning that both were used in various places. This patch standardizes
on the built-in `boolean` type, removing the typedef.

Differential Revision: https://phabricator.services.mozilla.com/D206382
2024-04-04 18:45:21 +00:00
Valentin Gosu
16f5e8d578 Bug 1420777 - Coalesce connections less aggresively r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D204663
2024-04-04 17:24:35 +00:00
Paul Adenot
0737e57898 Bug 1860492 - Add a pref to disable Theora playback, disable it on Nightly. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D204052
2024-04-04 15:02:31 +00:00
Mathew Hodson
9c35a1eb34 Bug 1887839 - Remove fission.remoteObjectEmbed pref r=farre
Differential Revision: https://phabricator.services.mozilla.com/D206574
2024-04-04 14:56:45 +00:00
Frédéric Wang
ce4b1e2302 Bug 1882548 - Enable "fetchpriority" feature by default in nightly. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D203011
2024-04-04 14:42:53 +00:00
Jan-Niklas Jaeschke
64a2d399d6 Bug 1867939, part 1: Add FragmentDirective webidl and pref. r=dom-core,webidl,emilio,hsivonen
This patch also adds the empty shell of the `FragmentDirective` class to the `Document`.

Differential Revision: https://phabricator.services.mozilla.com/D195684
2024-04-04 14:39:31 +00:00
edgul
c156bcda24 Bug 1878001 - Add bypass list for DefaultURI fallback r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D200323
2024-04-04 14:13:58 +00:00
Andrew Creskey
d48f527b62 Bug 1816539 - Consider increasing the number of sockets available for speculative connect (currently 6) r=necko-reviewers,valentin
We know that we frequently hit this limit and so, based on observed performance improvements in sub-resource connection times, we are increasing it to 20.
Note that this is very conservative as on desktop we see no sign of overall socket pool exhaustion.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1819556

Android changes will follow as we currently have a much smaller overall socket pool on that platform.

Differential Revision: https://phabricator.services.mozilla.com/D206406
2024-04-04 12:26:30 +00:00