Commit Graph

982581 Commits

Author SHA1 Message Date
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
Sebastian Hengst
486346cc9d Bug 1981252 - extend web-platform-tests test certificates until 2026-06-11. r=jgraham a=RyanVM DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D260042
2025-08-08 14:21:24 +00:00
Ashley Hale
45f01ba16c Bug 1966754 - reduce SVGFE render task resolution for excessively large inputs r=gfx-reviewers,ErichDonGubler a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D256388

Differential Revision: https://phabricator.services.mozilla.com/D260363
2025-08-07 21:51:25 +00:00
Nicolas Chevobbe
8a33ca95a6 Bug 1980892 - [devtools] Remove use of InspectorUtils.isCustomElementName on WalkerSearch#_searchSelectors. a=RyanVM.
We used to check if the passed query looked like a tag name so we could
bail out early, as we'd get those results from _searchIndex.
But InspectorUtils.isCustomElementName does match some legitimate
selectors, like div.a-b.
Let's remove the check on custom element and trigger the search in such case.

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

Differential Revision: https://phabricator.services.mozilla.com/D260238
2025-08-07 15:20:26 +00:00
Alexandre Poirot
1f0cb9a0b9 Bug 1976551 - [devtools] Fix selecting original source from the Source Tree. a=RyanVM
We should ignore the "show original source location by default" selecting
from selecting a source from the source tree.

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

Differential Revision: https://phabricator.services.mozilla.com/D260237
2025-08-07 15:20:23 +00:00
ffxbld
690ffd0b09 No Bug, mozilla-esr140 repo-update HSTS HPKP remote-settings ct-logs - a=diannaS
Differential Revision: https://phabricator.services.mozilla.com/D260307
2025-08-07 14:12:12 +00:00
Jed Davis
b5d80c4948 Bug 1974917 - Fix TypeToString to automatically handle named/numbered int types. r=nbp,glandium a=RyanVM
`TypeToString` defines instances for all the numbered int types (like
`int32_t`); unfortunately this can leave some of the named types (like
`int`) out of the sequence depending on how the C headers define the
numbered ones.  There are additional instances for signed and unsigned
long, which are needed on some platforms and would break the build on
others; there is an `#ifdef` which attempts to handle that, but the
result of all this is that CI can build for 32-bit x86 Linux but it
fails when I try locally.

This patch simplifies things and removes the `#ifdef` using a similar
idea to bug 836438: the unspecialized `TypeToString` calls another
function with its own set of specializations, with numbered types in the
first layer and named types in the second.
2025-08-06 18:27:39 +00:00
Masayuki Nakano
e7d692b3a1 Bug 1974970 - Make GetNextPrevLineBlockFrame() guarantee that it won't enter into anonymous subtree r=emilio a=RyanVM
It seems that `nsIFrame::GetLastLeaf()` and `nsIFrame::GetFirstLeaf()`
were designed for helper methods of `nsIFrame::IsVisuallyAtLineEdge()`
and `nsIFrame::IsLogicallyAtLineEdge()`.  Therefore, they require the
`nsTextFrame` which is generated by `::before` or `::after` to check
whether the frame is first or last of the line.  However, only
`nsIFrame::GetLastLeaf()` is used by `GetNextPrevLineBlockFrame()` too
and I changed the behavior only for `GetNextPrevLineBlockFrame()` in
D216371.  Then, that broke the `nsIFrame::IsVisuallyAtLineEdge()` and
`nsIFrame::IsLogicallyAtLineEdge()`.  Therefore, this patch moves the
new check to the caller side, i.e., into `GetNextPrevLineBlockFrame()`.

Differential Revision: https://phabricator.services.mozilla.com/D256211
2025-08-06 18:27:36 +00:00
Pier Angelo Vendrame
982a6c591c Bug 1979608. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D258859

Differential Revision: https://phabricator.services.mozilla.com/D259975
2025-08-06 13:27:41 +00:00
Steve Fink
c446c5e360 Bug 1977130 - Error-check pthread_getattr_np. r=glandium,spidermonkey-reviewers,jandem, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D258648
2025-08-06 02:03:17 +00:00