Skip to content

Enterprise main merge 20251215#275

Merged
lissyx merged 285 commits intoenterprise-mainfrom
enterprise-main_merge_20251215
Dec 15, 2025
Merged

Enterprise main merge 20251215#275
lissyx merged 285 commits intoenterprise-mainfrom
enterprise-main_merge_20251215

Conversation

@lissyx
Copy link
Copy Markdown
Contributor

@lissyx lissyx commented Dec 15, 2025

No description provided.

jonoliver and others added 30 commits December 11, 2025 21:03
…se-design-tokens rule r=mstriemer,frontend-codestyle-reviewers

- converts use-font-weight-tokens rule to be configured via use-design-tokens rule
- updates tests and documentation for font-weight portion of use-design-tokens rule
- updates to allow normal keyword for font-weight
- updates .stylelintrc.js to exclude additional file paths from design token rules

Differential Revision: https://phabricator.services.mozilla.com/D273583
…e-design-tokens rule r=mstriemer,frontend-codestyle-reviewers

- converts use-text-color-tokens rule to be configured via use-design-tokens rule
- updates tests and documentation for color portion of use-design-tokens rule

Differential Revision: https://phabricator.services.mozilla.com/D273584
…ith use-design-tokens rule r=mstriemer,frontend-codestyle-reviewers

- converts use-background-color-tokens rule to be configured via use-design-tokens rule
- updates tests and documentation for background-color portion of use-design-tokens rule

Differential Revision: https://phabricator.services.mozilla.com/D273878
…use-design-tokens rule r=mstriemer,frontend-codestyle-reviewers,desktop-theme-reviewers

- converts use-border-color-tokens rule to be configured via use-design-tokens rule
- updates tests and documentation for border-color portion of use-design-tokens rule

Differential Revision: https://phabricator.services.mozilla.com/D273903
… use-design-tokens rule r=mstriemer,frontend-codestyle-reviewers,Standard8,mtigley

- converts use-border-radius-tokens rule to be configured via use-design-tokens rule
- updates tests and documentation for border-radius portion of use-design-tokens rule

Differential Revision: https://phabricator.services.mozilla.com/D274066
…ign-tokens rule r=mstriemer,frontend-codestyle-reviewers,desktop-theme-reviewers

- converts use-space-tokens rule to be configured via use-design-tokens rule
- updates tests and documentation for space portion of use-design-tokens rule

Differential Revision: https://phabricator.services.mozilla.com/D274142
… new entry for same-origin cross-document replace navigations. r=farre,dom-core" for causing wpt failures @ pageswap-replace-with-cross-origin-redirect.sub.html

This reverts commit 3986921.
…f overflowing replaced elements. r=layout-reviewers,dholbert" for causing bc failures @ browser_ext_menus_events.js

This reverts commit 670fdc4.
…der in all locales. r=Gijs,mak

As suggested in comments 13-15, this removes localization support for the
filesFolder suffix, so the hardcoded "_files" string is used everywhere.

Differential Revision: https://phabricator.services.mozilla.com/D273031
…olling with CSS anchor pos. r=hiro,layout-reviewers

If we have an anchor that is transformed, then if we assign the ASR of the anchor to the anchored content, that means the anchored content will get the same spatial node in web render as the anchor, that means web render will draw it as if it is also transformed. This is not correct. In order to not render incorrectly in this case we disable async scrolling with the anchor in this case. It will still scroll with the anchor, just without the benefit of async scrolling (ie the main thread updates it).

In order to avoid this we keep track on the nsDisplayListBuilder whether a frame async scrolls with its anchor or not. We don't try to do any tracking outside of painting. This seems okay because outside of painting we only use this information for activating display ports, and async scrolling with the anchor only inserts more frames in the ASR/async scrollable frame ancestor chain. We clear the information on the nsDisplayListBuilder after every frame. RDL is already disabled when anchor pos async scroll is happening so we don't have to worry about any invalidations.

This then requires an extra walk of the same frames that ActivateDisplayportOnASRAncestors will walk over later. And further, we might have to recurse if we have chained anchors and walk them again. Minimizing this walk seems too complicated. Chained anchors shouldn't be common, if we are walking these frames they should be in the cpu's cache.

We have to create yet another function that walks over ASRs (ShouldAsyncScrollWithAnchorNotCached), because we need to check each individual frame that is walked for being transformed (the existing users don't need this level of granularity).

Since it's only a bit more code this patch also fixes bug 2003845, which exists because ASRs can only scroll in both axis, but anchor pos sometimes only scrolls in one axis with its anchor. If we encounter this case, and a scroll frame for which this would actually make a difference we disable async scroll as well.

Differential Revision: https://phabricator.services.mozilla.com/D275453
…we can't represent as async scrolling to improve experience. r=hiro,layout-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D275542
…=geckoview-reviewers,android-reviewers,tcampbell

This patch adds logging in the GV StorageController to warn in the event
of crashes and handles the error in AC by returning null.

Manually tested by changing the bundle query message to an invalid endpoint.

Differential Revision: https://phabricator.services.mozilla.com/D275996
… IP Protection settings r=ip-protection-reviewers,fluent-reviewers,akulyk,bolsson,rking

This patch updates the Firefox VPN section in about:preferences to:
- manage site exclusions only
- remove radio buttons to choose between "all" and "select" protection modes
- remove site inclusions controls
- slightly edit some strings. The strings still need content approval, but I felt that it made sense to change strings mentioning "site inclusions" and "select" protection mode

Tests were also updated to no longer check for site inclusions or mode pref switching.

Differential Revision: https://phabricator.services.mozilla.com/D275651
…etect the shape (and later slot offset) and another to gather the values. r=iain

Preparation to being able to fold GuardShape followed by {Load|Store}{Fixed|Dynamic}Slot.
For this we split the detection of stubs with different shapes (and in the future slots) and gathering.
This patch does this in two passes. One to detect the availability to fold (detect shape and slot change at same offset).
The second pass is used to make sure all Stub information is the same and saves the different shapes (and slots).
The other changes are to support the subsequent patches.

Differential Revision: https://phabricator.services.mozilla.com/D274201
…iain

Add Stubfolding-details logs to have more information about the folding.

Differential Revision: https://phabricator.services.mozilla.com/D274202
Implement smarter version of GuardMultipleShapes. Instead of only guarding for the shapes,
this variant also keeps track of the specific offsets in the shape that are accessed.
The output of the GuardMultipleShapesToOffset can be forwarded to {Load|Store}{Fixed|Dynamic}SlotFromOffset.
Which allows for more cases where we don't have a Megamorphic call.

Differential Revision: https://phabricator.services.mozilla.com/D274204
GuardShapeListToOffset is an improved GuardMultipleShapesToOffset for ion.
In baseline the shapes and offset are recorded, which are baked into
the GuardShapeListToOffset (with maximum of 4). This allows optimization
passes like GVN and LICM to better optimize.

Differential Revision: https://phabricator.services.mozilla.com/D274205
…icSlotFromOffset. r=iain

Adds the folding and addToFolded code for Load{Fixed|Dynamic}Slot.
This patch contains the cache stub code and ion code.

Differential Revision: https://phabricator.services.mozilla.com/D274206
…amicSlotFromOffset. r=iain

Adds the folding and addToFolded code for Store{Fixed|Dynamic}Slot.
This patch contains the cache stub code and ion code.

Differential Revision: https://phabricator.services.mozilla.com/D274207
…=home-newtab-reviewers,fluent-reviewers,tgiles,npypchenko,desktop-theme-reviewers,bolsson

Differential Revision: https://phabricator.services.mozilla.com/D274525
…unpaired surrogates. r=Gijs" for causing bc failures @ browser_save_filenames

This reverts commit e9790fa.

Revert "Bug 1959738 - part 2 - Rewrite SanitizeFileName for better readability and correctness. r=Gijs"

This reverts commit d5b61ae.

Revert "Bug 1959738 - Use a standard "_files" suffix for associated files folder in all locales. r=Gijs,mak"

This reverts commit 6eb038c.
…ry for same-origin cross-document replace navigations. r=farre,dom-core

Differential Revision: https://phabricator.services.mozilla.com/D275908
@lissyx lissyx merged commit 7073eb5 into enterprise-main Dec 15, 2025
36 of 43 checks passed
@lissyx lissyx deleted the enterprise-main_merge_20251215 branch December 15, 2025 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.