Commit Graph

982390 Commits

Author SHA1 Message Date
Eitan Isaacson
a5ebf1856c Bug 1975696 - Revert suppression of AXTitle introduced in bug 1901324. r=Jamie a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D261165

Differential Revision: https://phabricator.services.mozilla.com/D261203
2025-08-23 00:27:18 +00:00
Gabriele Svelto
7c81a53f68 Bug 1975853 - Fail gracefully if we cannot start the crash helper client a=RyanVM
Before this patch if we failed to launch the crash helper client then we
would either freeze or crash Firefox, which is not what we want. This
makes sure that errors when launching the crash helper are not
catastrophic. Additionally, this problem was triggered on a machine that
launched more than 64 child processes at startup during session restore.
That was a hard limit on Windows because of the limitations of
WaitForMultipleObjects(). I adjusted the code to also handle that
gracefully even though we don't support more than 64 child processes at
the moment. That's not a big deal because we're not yet using that
particular IPC channel, so ignoring every child process above the 63rd
doesn't change anything at the moment. Last but not least there was a
small race in the crash helper rendez-vous that might cause Linux to
attempt to generate a minidump before we had allowed a child process to
allow the crash helper to ptrace() it. This was also fixed.

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

Differential Revision: https://phabricator.services.mozilla.com/D262076
2025-08-22 16:24:58 +00:00
Alex Franchuk
67e86233d3 Bug 1981002 - Crash helper leaks a unix fd on macOS and Linux that persists past tab close a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D259986

Differential Revision: https://phabricator.services.mozilla.com/D262075
2025-08-22 16:24:54 +00:00
Gabriele Svelto
6d82d3eb47 Bug 1964600 - Introduce an IPC channel between child processes and the crash helper a=RyanVM
This channel is currently only used on Linux to rendez-vous with the
crash helper, obtain its PID and use it to enable the process to be
dumped when the Yama LSM is enabled. It will be used to actually request
a dump in the future, when the breakpad exception handler is removed.

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

Differential Revision: https://phabricator.services.mozilla.com/D262074
2025-08-22 16:24:50 +00:00
Gabriele Svelto
1ed126d239 Bug 1964600 - Daemonize the crash helper process on Linux and macOS a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D254046

Differential Revision: https://phabricator.services.mozilla.com/D262073
2025-08-22 16:24:47 +00:00
Gabriele Svelto
cddb6d587e Bug 1964600 - Allow Windows crash helper IPC to pass handles a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D254045

Differential Revision: https://phabricator.services.mozilla.com/D262072
2025-08-22 16:24:43 +00:00
Gabriele Svelto
3536a14146 Bug 1964600 - Allow macOS crash helper IPC to pass file descriptors a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D252664

Differential Revision: https://phabricator.services.mozilla.com/D262071
2025-08-22 16:24:39 +00:00
Gabriele Svelto
e35beda67b Bug 1964600 - Move the IPC waiting and connection logic directly into the server a=RyanVM
This is the second step towards daemonizing the crash helper process. The code
used to listen to incoming connections and messages is moved directly into the
server for better coupling. New and existing connections are now categorized
as belonging to Firefox parent process, a child process or an external process
(typically the WER service on Windows). The permission checks on the various
messages are now based on these categories, instead of the PIDs of the
crash helper clients.

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

Differential Revision: https://phabricator.services.mozilla.com/D262070
2025-08-22 16:24:35 +00:00
Gabriele Svelto
7e30a25f60 Bug 1964600 - Remove the crash helper PID from the IPC connectors a=RyanVM
This paves the way for the daemonization of the crash helper. First of all the
main process won't know the PID of the crash helper process directly, as it
won't be a child of the main process anymore. Additionally, child processes'
IPC channels will be created in the main process, and then both ends will be
handed to the crash helper and child respectively. Because of this it won't be
possible for a child to fetch the PID of the other endpoint of the pipe (all
operating systems record the process identifier of the process that *created*
the pipe as the endpoint, regardless of what process one endpoint is handed
to afterwards).

This patch removes all references to the crash helper PID and ways to fetch it
from the crash helper IPC machinery. See the following patches for how we
deal with authorizing certain operations now that we don't have the PIDs
anymore.

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

Differential Revision: https://phabricator.services.mozilla.com/D262069
2025-08-22 16:24:31 +00:00
Gabriele Svelto
713e2ee899 Bug 1969446 - Reverse the order in which the crash helper processes incoming events a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D251873

Differential Revision: https://phabricator.services.mozilla.com/D262068
2025-08-22 16:24:27 +00:00
smayya
328bfe2659 Bug 1965056 - for stale revalidating channel do not copy cookies. r=necko-reviewers,valentin a=RyanVM
Root Cause:
The issue was caused by cookie headers being copied twice. Cookies were added to the revalidating channel just before it was opened, in PerformBackgroundCacheRevalidationNow -> VisitNonDefaultRequestHeaders, and then again in PrepareToConnect -> AddCookiesToRequest, where cookies from the cookie service were merged with those passed during channel creation. This led to duplicate cookies being sent.

Fix:
We now skip setting cookies if the channel is for cache revalidation. This is because, at the point of opening, the channel already includes both the user’s cookies and those from the cookie service. The fix is based on the assumption that by the time PerformBackgroundCacheRevalidationNow is called, cookies are already up-to-date in mRequestHead. This assumption is valid, as cookies are added in PrepareToConnect, which is always invoked before OpenCacheEntry.

Differential Revision: https://phabricator.services.mozilla.com/D260268
2025-08-22 03:18:24 +00:00
Emilio Cobos Álvarez
f6e6238593 Bug 1980297 - Remove redundant in-content tab styles. r=desktop-theme-reviewers,dao a=RyanVM DONTBUILD
The selected styles match the unselected ones. Same for some of the
forced-colors ones.

Differential Revision: https://phabricator.services.mozilla.com/D259355
2025-08-22 03:16:55 +00:00
Emilio Cobos Álvarez
9e34876554 Bug 1980297 - Avoid setting background of visually selected tab by default. r=dao,desktop-theme-reviewers a=RyanVM
This matches better the in-content styles.

Differential Revision: https://phabricator.services.mozilla.com/D259354
2025-08-22 03:16:52 +00:00
Jacqueline Amherst
3a2744a0ee Bug 1972342 - change --in-content-box-background-color to --background-color-box r=akulyk,settings-reviewers,desktop-theme-reviewers,hjones a=RyanVM DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D256467
2025-08-22 03:14:13 +00:00
Hiroyuki Ikezoe
65b22a4883 Bug 1976116 - Respect eDoNotClipToBBoxOfContentInsideClipPath in SVGUtils::GetBBox. r=longsonr a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D256773
2025-08-22 01:46:18 +00:00
Kershaw Chang
d7d8c7ad0e Bug 1979124 - Remove thirdPartyRoots check in DoHHeuristics a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D261008

Differential Revision: https://phabricator.services.mozilla.com/D261571
2025-08-22 01:36:52 +00:00
Fatih Kilic
b848b2b571 Bug 1975753 - Force site specific zoom when RFPTarget::SiteSpecificZoom is active. a=RyanVM DONTBUILD
I wasn't around when RFPTarget::SiteSpecificZoom was implemented, but the current implementation is very confusing.

In Firefox, we have two modes of zoom level. Per tab zoom, and site specific zoom. It is controlled in two (maybe more) places. browser-fullZoom.js and in [CanonicalBrowsingContext.cpp](https://searchfox.org/mozilla-central/rev/ac81a39dfe0663eb40a34c7c36d89e34be29cb20/docshell/base/CanonicalBrowsingContext.cpp#285-289).

Our current implementation disables site specific zoom in `browser-fullZoom.js` by checking the RFP target, but it doesn't modify `CanonicalBrowsingContext.cpp`. So,`CanonicalBrowsingContext` still thinks we are using site specific zoom.

Pre-bug1914149 this method worked because we didn't keep/inherit zoom level across navigations. Post-bug1914149, it no longer works because we keep the zoom level across navigations in `CanonicalBrowsingContext` and let `browser-fullZoom.js` reset to its correct value back.

The issue is caused because `CanonicalBrowsingContext` keeps the previous page's zoom level, but `browser-fullZoom.js` thinks we use tab zoom mode, so it doesn't bother setting the zoom level for the site/page. So, we end up keeping the zoom level.

The solution here I'm suggesting is, doing the opposite of what we are doing in `browser-fullZoom.js`. So, now we should force SiteSpecificZoom with RFP. The reason I'm suggesting this is because within the same site, even acrss tabs, we persist cookies, so fingerprinting isn't much of concern here. We also don't persist zoom levels in private browsing. So, linking normal to PBM isn't a concern either.

So, in summary,
- If you open the same site, in 100 tabs, all of them will get the same zoom level with this patch (just like default normal Firefox)
- If you are in PBM, the zoom level is NOT persisted.
- If you are in normal browsing, the zoom level is persisted, but so are cookies.

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

Differential Revision: https://phabricator.services.mozilla.com/D261948
2025-08-22 01:27:54 +00:00
Alex Hochheiden
d2702ecdac Bug 1975800 - Add logging output to ensure_l10n_central function a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D258312

Differential Revision: https://phabricator.services.mozilla.com/D261996
2025-08-22 01:26:57 +00:00
Alex Hochheiden
e8b179b639 Bug 1975800 - Also run ensure_l10n_central on build installers-* (single locale repack) a=RyanVM DONTBUILD
In D246824 we moved the `l10n-central` clone step out of `l10n.mk`.
We added it to the code path for the `package-multi-locale` command,
but we did not add it to `build installers-$AB_CD` command.

This made single locale repacks not download the `l10n-central` repo
and single locales silently run without actuall doing localizations.

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

Differential Revision: https://phabricator.services.mozilla.com/D261995
2025-08-22 01:26:54 +00:00
Jonathan Kew
251e895995 Bug 1970805 - Remove validity check from Translator::GetCurrentDrawTarget to avoid aborting print-job playback, and add drawtarget-validity checks to more methods in DrawTargetCairo. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D255099

Differential Revision: https://phabricator.services.mozilla.com/D261880
2025-08-22 01:18:21 +00:00
Calixte Denizet
8361c7b380 Bug 1978317 - Fix the xref table with the ref in a xref stream a=RyanVM DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D261981
2025-08-22 01:18:05 +00:00
Narcis Beleuzu
3a108ff2cd Revert "Bug 1944610 - Adjust windows tasks to use updated dir for hgstore. r=#taskgraph-reviewers" for causing windows oom failures
This reverts commit 38dedc07e1e08f0e70893e702addd885ad67ba11.
2025-08-21 19:56:57 +00:00
Yoshi Cheng-Hao Huang
6dc01ca59a Bug 1980730 - Trace dispatched tasks on worklets. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D260817

Differential Revision: https://phabricator.services.mozilla.com/D261535
2025-08-21 16:29:52 +00:00
ffxbld
3a97f37e31 No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D261912
2025-08-21 16:11:31 +00:00
Jonathan Moss
a45cba7ea5 Bug 1944610 - Adjust windows tasks to use updated dir for hgstore. r=taskgraph-reviewers,jmaher a=release 2025-08-21 16:11:26 +00:00
Julien Cristau
7b8eeb5ec7 Bug 1974725 - make esr140 not next-esr. r=releng-reviewers,Eijebong a=RyanVM DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D261546
2025-08-20 22:20:54 +00:00
Rob Wu
3d9b423dd8 Bug 1976773 - Remove mousenter/mouseleave listeners from browser-addons.js a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D258434

Differential Revision: https://phabricator.services.mozilla.com/D260202
2025-08-20 02:01:40 +00:00
Lee Salzman
c31fcbe00c Bug 1981283. r=ahale a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D260412
2025-08-20 01:57:45 +00:00
Chris Martin
d4f1adadef Bug 1870379 - Fix assertions from OOB gamepad array accesses r=gsvelto a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D260186
2025-08-20 01:57:42 +00:00
Andreas Pehrson
b0feaebde8 Bug 1963163 - Don't prime voice processing when requesting fake audio. r=padenot a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D260843

Differential Revision: https://phabricator.services.mozilla.com/D261078
2025-08-19 22:25:03 +00:00
Andreas Pehrson
c6201d9f7a Bug 1963163 - Re-enable 1028458.html on Android. r=padenot a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D260842

Differential Revision: https://phabricator.services.mozilla.com/D261077
2025-08-19 22:25:00 +00:00
Andreas Pehrson
bbfe8da4e4 Bug 1963163 - Re-enable 1041466.html on macOS 15.30. r=padenot a=RyanVM
1041466.html was never the culprit.

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

Differential Revision: https://phabricator.services.mozilla.com/D261076
2025-08-19 22:24:57 +00:00
Beth Rennie
c1abaf8bf3 Bug 1981788 - Include featureIds in CheckRecipeResult.UnsupportedFeatures a=RyanVM DONTBUILD
Original Revision: https://phabricator.services.mozilla.com/D260329

Differential Revision: https://phabricator.services.mozilla.com/D260663
2025-08-19 22:15:11 +00:00
Mark Banner
2c95b157e6 Bug 1983727 - Fix failures in test_google.js when run on ESR. a=RyanVM
This removes test_searchConfig_google_with_pref_param because the Nimbus test is enough to cover it - we should only
be setting those params via Nimbus. We also have test_getSubmission_params_pref* which cover the preference scenario
in non-'live' configuration conditions.

We rework the Nimbus test to only apply to non-ESR, and adds specific skip-if conditions. We also add a test for
ensuring that the channel is always the correct value on ESR (even if no enterprise policy is set).

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

Differential Revision: https://phabricator.services.mozilla.com/D261588
2025-08-19 20:01:49 +00:00
Fatih Kilic
81cbbf55e4 Bug 1957658 - Set max touch points as discussed. Disable automatic touch support detection if we are RFPing. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D259044

Differential Revision: https://phabricator.services.mozilla.com/D261489
2025-08-19 01:06:06 +00:00
Rob Wu
53f2a8026d Bug 1959339 - Stop waiting for background load when aborted on shutdown a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D256910

Differential Revision: https://phabricator.services.mozilla.com/D260199
2025-08-18 21:42:49 +00:00
ffxbld
09d9745700 No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D261384
2025-08-18 21:27:51 +00:00
Release Engineering Landoscript
9711153304 No Bug - Update configs after merge day operations a=release
IGNORE BROKEN CHANGESETS
CLOSED TREE
2025-08-18 13:24:43 +00:00
Release Engineering Landoscript
b8ccecff0a Automatic version bump NO BUG a=release CLOSED TREE 2025-08-18 13:24:40 +00:00
Emilio Cobos Álvarez
5fe142be9a Bug 1977581 - Keep activating the parent window on Windows when destroying a child. r=win-reviewers,handyman, a=dsmith
Bug 1902315 removed a PlaceBehind call here, which in this case happened
to also activate the window (via the aActivate = true parameter).

Keep raising the window manually, but with simpler APIs.

Differential Revision: https://phabricator.services.mozilla.com/D258743
2025-08-11 12:58:29 +00:00
ffxbld
78b1e3e8de No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings tld-suffixes ct-logs - a=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D260642
2025-08-11 11:34:01 +00:00
Itms
f4f3121c1e Bug 1982134 - Choose specific callback in removeBlackRootsTracer. a=RyanVM
This fixes a regression introduced in the refactoring at Bug 1846835 / D185307

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

Differential Revision: https://phabricator.services.mozilla.com/D260608
2025-08-10 22:12:46 +00:00
Andrew Osmond
8d43e5f486 Bug 1979782. r=ahale a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D260529

Differential Revision: https://phabricator.services.mozilla.com/D260566
2025-08-10 13:42:01 +00:00
Yoshi Cheng-Hao Huang
2925957e93 Bug 1958495: Add CancelFetchingModules for BETA. a=RyanVM
Apply the fix in https://phabricator.services.mozilla.com/D257677 to
BETA.

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

Differential Revision: https://phabricator.services.mozilla.com/D260572
2025-08-09 22:05:01 +00:00
unknown
2ea89a3cf2 Bug 1933572 - Be more stringent about which SurfaceDescriptors we serialize for moz2d recording IPC. r=tnikkel a=pascalc
Original Revision: https://phabricator.services.mozilla.com/D244105

Differential Revision: https://phabricator.services.mozilla.com/D254904
2025-08-08 23:52:25 +00:00
Landry Breuil
2debf439a3 Bug 1973336: fix building http3server when --with-system-nss/nspr is used r=glandium,necko-reviewers,jesup a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D258821
2025-08-08 19:54:24 +00:00
Olli Pettay
99a150a008 Bug 1828622, try to stabilize test_focus.xhtml a bit, r=farre a=test-only
Differential Revision: https://phabricator.services.mozilla.com/D259856
2025-08-08 19:54:21 +00:00
Nicolas Chevobbe
7c55e1efc2 Bug 1979591 - [devtools] Properly focus Markup view when Inspector is opened via Inspect context menu. a=RyanVM.
If the inspector was opened from the Inspect context menu, the node gets selected
in the MarkupView constructor, but the Toolbox focuses the Inspector iframe once
the tool is loaded (and the iframe is actually visible), so we need to focus
the selected node after the inspector was properly selected and focused.

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

Differential Revision: https://phabricator.services.mozilla.com/D260236
2025-08-08 19:32:26 +00:00
Kershaw Chang
ec188ec108 Bug 1979955 - ensure transaction is alive (for ESR140), a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D260484
2025-08-08 15:52:40 +00:00
Andrew Osmond
0142f90425 Bug 1979527. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D260190

Differential Revision: https://phabricator.services.mozilla.com/D260195
2025-08-08 14:22:07 +00:00