Commit graph

987584 commits

Author SHA1 Message Date
Alex Franchuk
ac995d8c0d Bug 1873210 - Support langpacks in the crashreporter client a=RyanVM
This passes the profile directory as a crash annotation (which is not
sent in the crash report). The profile directory is already indirectly
passed to the crash reporter through
`MOZ_CRASHREPORTER_EVENTS_DIRECTORY`, however I don't think that's
something to rely upon.

The pref parsing and langpack extension search are done on a best-effort
basis; there may be some odd configurations for which it does not
account. However, it should cover the vast majority of cases. While we
don't want to underserve niche populations that may have an odd
configuration, we do always have fallback behaviors that are likely
still reasonable for most (like using the installation locale). We also
first try the `useragent_locale` annotation before getting locales from
the prefs.

This only looks in the profile and the installation for langpack
extensions. There are a few other system-wide locations that Firefox
looks in. However, the assumptions are:
1) overwhelmingly users install langpacks using the UI rather than
   manually downloading the file, and
2) if installed with a package manager (mostly applicable to linux),
   langpacks are put in the installation. This is the case for the few
   major linux distros I checked.

If we think this is not enough, I can also add the system-wide
directories.

Original Revision: https://phabricator.services.mozilla.com/D222356

Differential Revision: https://phabricator.services.mozilla.com/D234210
2025-01-15 02:58:47 +00:00
Dana Keeler
11016a3f1e Bug 1940804 - avoid some "as" casts in cert_storage a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D233775

Differential Revision: https://phabricator.services.mozilla.com/D233880
2025-01-15 01:57:30 +00:00
ffxbld
7e5e208538 No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D234004
2025-01-14 03:05:22 +00:00
Nicolas Chevobbe
6b89a4cff6 Bug 1940751 - [devtools] Adapt compatibility test for Safari update. r=devtools-reviewers,ochameau a=test-only
Safari 18.2 added support for scrollbar-width and ruby-align,
so we need to use other properties to make the test green.
This is a follow up for Bug 1940196, where we only fixed a single test.

Differential Revision: https://phabricator.services.mozilla.com/D233672
2025-01-10 06:13:05 +00:00
Alexandru Marc
3959071c1e Backed out changeset 94b283c7793f (bug 1940804) for causing build bustages a=backout 2025-01-11 04:25:12 +02:00
Greg Stoll
4161f1270b Bug 1938389 - disable Content Analysis policies (for ESR) r=dlp-reviewers,handyman a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D233557
2025-01-11 02:19:15 +00:00
Arkadiy Tetelman
20e3debc46 Bug 1939981 - Avoid skipping domains in DNR requestDomains/initiatorDomains. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D233223

Differential Revision: https://phabricator.services.mozilla.com/D233484
2025-01-11 02:17:54 +00:00
Jonathan Kew
d6b4284438 Bug 1938548 - Handle CFF2 in UnscaledFontMac::GetFontFileData. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D232808

Differential Revision: https://phabricator.services.mozilla.com/D232904
2025-01-11 02:15:44 +00:00
Mike Kaply
d574cf55f1 Bug 1935003 - isEnterprise was supposed to be a boolean. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D231012

Differential Revision: https://phabricator.services.mozilla.com/D233117
2025-01-11 02:14:15 +00:00
Mike Kaply
1348276c1d Bug 1919344 - Add isEnterprise check to Services.policies. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D222522

Differential Revision: https://phabricator.services.mozilla.com/D233112
2025-01-11 02:14:15 +00:00
Dana Keeler
b9447ec32f Bug 1940804 - avoid some "as" casts in cert_storage a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D233775

Differential Revision: https://phabricator.services.mozilla.com/D233880
2025-01-11 02:01:31 +00:00
Ben Visness
ace99eec6a Bug 1936454: Make i31.get immovable. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D232110

Differential Revision: https://phabricator.services.mozilla.com/D232362
2025-01-10 16:58:35 +00:00
Olli Pettay
05d11eb6cb Bug 1937694, don't try to keep transferred ports alive for too long, a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D232405

Differential Revision: https://phabricator.services.mozilla.com/D233616
2025-01-10 16:51:25 +00:00
Jan-Niklas Jaeschke
387c7ddc7b Bug 1936982 - Clean up AbstractRange::UnregisterClosestCommonInclusiveAncestor(). r=smaug, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D232153
2025-01-09 02:43:43 +00:00
Andrew McCreight
5aedcd8049 Bug 1936613 - Reset mCompileResult in txMozillaXSLTProcessor::ImportStylesheet. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D231880

Differential Revision: https://phabricator.services.mozilla.com/D233676
2025-01-10 16:50:29 +00:00
ffxbld
8f5b093101 No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D233642
2025-01-09 11:16:53 +00:00
Dana Keeler
b68af086e7 Bug 1940172 - regenerate test certificates for 2025 r=jschanck,necko-reviewers,kershaw,robwu,extension-reviewers a=test-only
* the certificates were regenerated using ./mach generate-test-certs
* the build/pgo/certs/ changes were made using ./mach python build/pgo/genpgocert.py
* the zip files in security/manager/ssl/tests/unit/test_signed_apps/ were updated per the directions in the corresponding moz.build file
* security/manager/ssl/tests/unit/test_cert_override_read.js was updated per the instructions in its output
* this text was copied and updated from the previous regeneration bug, bug 1874627

These certificates and other test artifacts will now expire in 2026.
2025-01-08 17:41:58 +00:00
Nicolas Chevobbe
a78699663d Bug 1940196 - [devtools] Adapt browser_compatibility_css-property_issue.js for Safari update. r=devtools-reviewers,jdescottes a=test-only
Safari 18.2 added support for scrollbar-width and ruby-align,
so we need to use other properties to make the test green.
2025-01-07 09:35:24 +00:00
Cosmin Sabou
918836c733 Bug 1939626 - Disable browser_CDW.js for permafailing with the new year. a=test-only 2025-01-01 03:27:12 +02:00
Dana Keeler
35668959ff Bug 1939625 - update test certificate serial numbers referenced in test_cert_storage.js and reenable it. r=aryx, a=test-only 2025-01-08 00:40:53 +00:00
Sebastian Hengst
08ac0b7523 Bug 1939625 - remove hardcoded certificate validity from .certspec files of some test certs and regenerate them. r=keeler, a=test-only 2025-01-07 04:18:05 +02:00
Mozilla Releng Treescript
51f28a01b8 No bug - Tagging 4f008c71b12e001ae54b7fcd4787b266764c28bf with FIREFOX_128_6_0esr_RELEASE a=release CLOSED TREE DONTBUILD 2025-01-07 15:56:35 +00:00
Mozilla Releng Treescript
aa329ba32f Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2025-01-06 17:26:19 +00:00
Mozilla Releng Treescript
26368b1247 No bug - Tagging 4f008c71b12e001ae54b7fcd4787b266764c28bf with FIREFOX_128_6_0esr_BUILD1 a=release CLOSED TREE DONTBUILD 2024-12-18 16:17:19 +00:00
Tiaan Louw
d431c710c8 Bug 1924363 - Eagerly resolve sum nodes during parsing a=RyanVM
Product nodes are eagerly resolved during parse time, but sum nodes are
not. This might cause floating point inprecision in sum nodes, which
leads to invalid calculations, e.g. `round(down, (7 - 1) / 3, 1)` would
end up being `round(down, (2.3333333 - 0.33333334), 1)`, then
`round(down, 1.99999996, 1)`, which equals `1`, which is incorrect.

Original Revision: https://phabricator.services.mozilla.com/D225936

Differential Revision: https://phabricator.services.mozilla.com/D232498
2024-12-18 15:28:33 +00:00
Mark Banner
e983d95159 Bug 1886423 - Update search config tests. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D205208

Differential Revision: https://phabricator.services.mozilla.com/D232248
2024-12-17 17:36:29 +00:00
ffxbld
e8377216c3 No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D232388
2024-12-17 17:36:27 +00:00
stransky
b543f7b377 Bug 1913643 [Linux] Drag&Drop check received data r=emilio a=RyanVM 2024-12-09 10:47:56 +00:00
stransky
739e7a73b7 Bug 1914742 [Linux] Don't use gtk_targets_include_uri() to check URI types r=emilio a=RyanVM 2024-12-09 10:16:33 +00:00
Filipe Laíns
6f42e00ea5 Bug 1935621 - Fix virtual environment sysconfig path calculation r=firefox-build-system-reviewers,ahochheiden a=pascalc
Signed-off-by: Filipe Laíns <lains@riseup.net>

Signed-off-by: Filipe Laíns <lains@riseup.net>

Signed-off-by: Filipe Laíns <lains@riseup.net>

Differential Revision: https://phabricator.services.mozilla.com/D231480
2024-12-09 04:40:42 +00:00
James Teh
60f804b7c5 Bug 1890155: If we can't get an HWND when clients call IAccessible2::windowHandle, fall back to the first top level Gecko HWND we can find. a=RyanVM
This hack is needed to avoid a crash in the Microsoft IA2 -> UIA proxy.
See the code comments for details.

Original Revision: https://phabricator.services.mozilla.com/D230189

Differential Revision: https://phabricator.services.mozilla.com/D232307
2024-12-17 02:32:39 +00:00
David P
ce5667d627 Bug 1935354: Define STDMETHODCALLTYPE in TestWifiMonitorListenerRemoval for MinGW a=pascalc
Original Revision: https://phabricator.services.mozilla.com/D231304

Differential Revision: https://phabricator.services.mozilla.com/D232098
2024-12-16 19:19:27 +00:00
David P
32ada066e9 Bug 1926196: Iterate over a copy of WifiListenerData to allow mutation a=pascalc
To avoid iterators being invalidated during iteration, this needs a collection
that allows mutation during iteration (like std::set) or a copy. This uses
a copy to get the best asymptotic performance.

Includes a test that both OnChange and OnError allow listener removal.

Original Revision: https://phabricator.services.mozilla.com/D231002

Differential Revision: https://phabricator.services.mozilla.com/D232097
2024-12-16 19:19:27 +00:00
David P
7fb7d6fc56 Bug 1926196: Use HashSet for wifi listeners a=pascalc
This avoids invalidating iterators when mutating the collection during iteration.

Original Revision: https://phabricator.services.mozilla.com/D230422

Differential Revision: https://phabricator.services.mozilla.com/D232096
2024-12-16 19:19:27 +00:00
Gijs Kruitbosch
2e89e4d09a Bug 1916193 - stop always allowing opening the Windows Store, a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D220810

Differential Revision: https://phabricator.services.mozilla.com/D232125
2024-12-14 01:04:04 +00:00
Zach Hoffman
08a7091921 Bug 1926164 - Negate in_negation when nesting r=dshin,jwatt a=RyanVM
`in_negation` was `true` in cases where it should be `false`, like
`:not(:not(...))`.

Differential Revision: https://phabricator.services.mozilla.com/D226582
2024-10-25 15:57:03 +00:00
Ryan VanderMeulen
575160379d Backed out changeset 8729ceb8a558 (bug 1920998) for browser_ext_popup_select.js permafails. 2024-12-13 19:59:42 -05:00
Emilio Cobos Álvarez
53feec244e Bug 1920998 - Try to work around macOS panel positioning bug. r=desktop-theme-reviewers,dao a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D230129
2024-12-03 21:52:26 +00:00
stransky
6efa2b6d62 Bug 1934919 [Linux] Set drop timeout back to 1 sec to avoid long freezes r=emilio, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D230961
2024-12-03 21:12:12 +00:00
Emilio Cobos Álvarez
e70bbed0ba Bug 1928512 - Use opaque backstop color for page canvas background. r=dholbert, a=RyanVM
This restores behavior from before bug 1835864, effectively.

The top level image document's root element has transparent background.
Before that patch, we used to blend that with
GetDefaultBackgroundColorDraw(), which was white.

This should generally not change behavior, because the page frame itself
is white, but it does on PrintTargetWindows (probably a cairo bug?),
where it causes our page content clip not to apply.

In any case, restoring behavior here is trivial, so let's do that for
now, I'll file a follow-up bug for the underlying issue.

Differential Revision: https://phabricator.services.mozilla.com/D228514
2024-11-09 19:46:47 +00:00
Lee Salzman
13f41c6ec4 Bug 1933668 - Undo half-pixel shift from WGR when using AA-Stroke. r=aosmond, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D231471
2024-12-07 19:32:02 +00:00
Valentin Gosu
35cb3165a6 Bug 1929156 - Check negotiated ALPN matches altSvc protocol a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D228217

Differential Revision: https://phabricator.services.mozilla.com/D232072
2024-12-13 17:32:42 +00:00
Frederik Braun
57fdc20527 Bug 1915257 - refactor webchannel to use actor's principal r=nalexander,nika a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D227161
2024-10-29 19:35:45 +00:00
Andrew McCreight
d73084cf19 Bug 1275612 - Don't allow any origins to send objects over WebChannel. a=RyanVM
The last actual Firefox user of this less-safe feature was removed in 2022.
Thunderbird's sync server still needs it, but apparently that is a prototype
that isn't really working, so they said it was okay to remove this.

Original Revision: https://phabricator.services.mozilla.com/D220646

Differential Revision: https://phabricator.services.mozilla.com/D232089
2024-12-13 17:21:21 +00:00
Ryan VanderMeulen
e692b9fa5b Bug 1912093 - Skip browser_ui_telemetry.js on all platforms. a=test-only 2024-12-13 12:18:01 -05:00
Ryan VanderMeulen
fceb1e5a97 Bug 1936853 - Remove permafailing bug-1929623.js. a=test-only 2024-12-13 11:45:05 -05:00
Andrew Osmond
a571088d3f Bug 1932482 - Add support for downloading GMP plugins from mirror URLs. a=pascalc
We have found that some users are unable to download the GMP plugin from
the default URL because of their specific network
configuration/circumstances. For example, some users cannot access the
*.gvt1.com domain. This patch adds the ability for balrog to supply
alternative mirror URLs to attempt to download the plugin, where we first
try the primary, and if supplied any secondaries, in the given order.

Original Revision: https://phabricator.services.mozilla.com/D229690

Differential Revision: https://phabricator.services.mozilla.com/D230617
2024-12-13 09:59:33 +00:00
Jonathan Kew
39f5540943 Bug 1915535 - Ensure consistent cleanup in nsLineBreaker::FlushCurrentWord. a=pascalc
Original Revision: https://phabricator.services.mozilla.com/D230763

Differential Revision: https://phabricator.services.mozilla.com/D231940
2024-12-13 09:57:22 +00:00
Mozilla Releng Treescript
7cabbe0440 No bug - Tagging f2cc51880bf4f49bfe087a2cc569388cab97242e with FIREFOX_128_5_2esr_RELEASE a=release CLOSED TREE DONTBUILD 2024-12-12 14:10:33 +00:00
ffxbld
b88a2acbdb No Bug, mozilla-esr128 repo-update HSTS HPKP remote-settings tld-suffixes - a=pascalc
Differential Revision: https://phabricator.services.mozilla.com/D231923
2024-12-12 13:53:39 +00:00