Skip to content

Enterprise main merge 2026072100#1177

Merged
jporter-dev merged 324 commits into
mozilla:enterprise-mainfrom
jporter-dev:main-merge_2026072100
Jul 22, 2026
Merged

Enterprise main merge 2026072100#1177
jporter-dev merged 324 commits into
mozilla:enterprise-mainfrom
jporter-dev:main-merge_2026072100

Conversation

@jporter-dev

Copy link
Copy Markdown
Contributor

Description

Bugzilla: NO BUG
Daily merge from upstream/main to enterprise-main

Resolved conflicts:

  • supply-chain/imports.lock
  • toolkit/library/rust/gkrust-features.mozbuild

heycam and others added 30 commits July 20, 2026 08:35
…/show_bug.cgi?id=318306, a=testonly

Automatic update from web-platform-tests
WebKit export: View transition transform test fails due to float vs double blending precision (#61032)

https://bugs.webkit.org/show_bug.cgi?id=318306
--

wpt-commits: 43d18fead8867d8d372a1974252eb31ea9a6dfb7
wpt-pr: 61032
…/show_bug.cgi?id=318401, a=testonly

Automatic update from web-platform-tests
WebKit export: Navigating away from a render-blocked document before it is revealed incorrectly reveals it and starts a cross-document view transition (#61057)

https://bugs.webkit.org/show_bug.cgi?id=318401
--

wpt-commits: 66efecaa645e2580e8f907c33a6ef390c4b399c0
wpt-pr: 61057
…spos inside float in inline layout, a=testonly

Automatic update from web-platform-tests
layout: Adjust the static position of abspos inside float in inline layout

When we decide the position of a float within an inline formatting
context, we need to adjust the static position of absolutely positioned
elements inside the float.

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Oriol Brufau <obrufau@igalia.com>

--

wpt-commits: 86fe927eb76f55733c4846f63fe02c8adc2a6e14
wpt-pr: 61288
…nsets for the default ViewTimeline, a=testonly

Automatic update from web-platform-tests
[scroll-animations] Update the test of insets for the default ViewTimeline. (#60907)

Tweak the test to check both 0% and 100%.

Note that this fixed: w3c/csswg-drafts#11644.
--

wpt-commits: 5509e63b23f1909bbeb7beef2e9778b4a00cf216
wpt-pr: 60907
…/show_bug.cgi?id=319189, a=testonly

Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=319189 (#61337)
--

wpt-commits: d0f91d8c789f48783d203d386bba3ccf50294644
wpt-pr: 61337
…onary>" is body-ok, a=testonly

Automatic update from web-platform-tests
Verify that <link rel="compression-dictionary>" is body-ok

https://html.spec.whatwg.org/#body-ok
whatwg/html#11620

--

wpt-commits: 9bc8141e0406b3018ee91490fa23be224f1ecab0
wpt-pr: 61193
…css-connected FontFace objects, a=testonly

Automatic update from web-platform-tests
Add web platform test

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

--

wpt-commits: 3b3ef50c022a32131362a8254a60a8b8bc707d80
wpt-pr: 61324
…izer in each call, a=testonly

Automatic update from web-platform-tests
TrustedParserOptions: return a new sanitizer in each call

This is instead of retaining a frozen copy.
See w3c/trusted-types#606

Bug: 491743369
Change-Id: Ida4d1a661edb8475cbc4a1b2ce0d0e3d38913024
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8097523
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1663095}

--

wpt-commits: c1e067e2346c22c0fc98bafed6618c3d92b06af0
wpt-pr: 61339
…tonly

Automatic update from web-platform-tests
Add integration point CDATA tests

See whatwg/html#4016
--

wpt-commits: a58eb9886b49d95f64b240c1c75c1bac788998a5
wpt-pr: 61253
… CalculationExpressionNode, a=testonly

Automatic update from web-platform-tests
Fix crash converting unresolved angle to CalculationExpressionNode

When a trigonometric function's angle argument cannot be simplified at
parse time (for example because it contains sibling-index()/
sibling-count()), the trigonometric function node is preserved as a
CSSMathExpressionOperation and only converted to a
CalculationExpressionNode later, during style resolution.

Angles are represented using the Pixels value of a PixelsAndPercent node
but we were missing a case for converting them. This CL adds that case.

Fixed: 534823412
Change-Id: I1702aeba70c13cf46772495ee2913bd966444a0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8103142
Commit-Queue: Kevin Babbitt <kbabbitt@microsoft.com>
Reviewed-by: Daniil Sakhapov <sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1663120}

--

wpt-commits: a0f6b702a0eaaa00ea1e414fdfbcc6d09f958454
wpt-pr: 61340
…gistration to after install, a=testonly

Automatic update from web-platform-tests
[Extensions] Move test event listener registration to after install (#61321)

PR #60541[1] changed listener registration to occur before test
extension install to accommodate Chrome's implementation. However, this
unwittingly broke Safari. Safari requires that the test extension be
installed before the test event listeners can be registered. When they
are registered before they do not fire at all. This didn't affect
Firefox which continued to run extension WPT successfully.

After this commit we revert back to the listener registration before
the above change. Safari should now fire test events successfully. I
also did some associated cleanup and added a couple clarifying
comments.

This will intentionally break Chrome for extension WPT temporarily
until Chrome's test event queuing impl is implemented in
https://crrev.com/c/8087101.

[1]: web-platform-tests/wpt@0855851
--

wpt-commits: 4edc28ed6ed8872270ed084738f8da6a0fef728c
wpt-pr: 61321
…t.org/show_bug.cgi?id=304475, a=testonly

Automatic update from web-platform-tests
WebKit export (with linter fixes) from bug: Text highlighting range is wrong for truncated RTL text (#61342)

Co-authored-by: Alan Baradlay <zalan@apple.com>
--

wpt-commits: a295e829a8c346faafc9f7cdd6c126108cf29be7
wpt-pr: 61342
…in mismatched-snapshot test, a=testonly

Automatic update from web-platform-tests
[css-view-transitions] Reland: Fix race in mismatched-snapshot test (#60880)

This is a reland of commit 7f5ace573c37876289ee3cd1fd81797edd71beae with
a modified fix to resolve the race condition on Mac.

The original fix waited for compositor ready in the popup before
notifying the opener. This was still flaking on Mac13 bots.

The new fix changes the navigation coordination: instead of the harness
initiating the navigation on the popup from the outside, the old popup
waits until it is compositor-ready and then navigates itself. This
avoids racing the navigation request with the browser observing the old
popup's view-transition opt-in status.

Original change's description:
> [css-view-transitions] Fix race in mismatched-snapshot skips test
>
> Wait for 2 requestAnimationFrames in the popup before navigating.
> This ensures the page is revealed (first paint) and its transition
> opt-in is registered in the browser before the navigation starts,
> preventing a null viewTransition on the new page.

Bug: 524290990
Change-Id: If9d91b783598bab0d61f22ac976b3b3955883908
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7985128
Commit-Queue: Free Debreuil <freedebreuil@google.com>
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Auto-Submit: Free Debreuil <freedebreuil@google.com>
Cr-Commit-Position: refs/heads/main@{#1651968}

Co-authored-by: Free Debreuil <freedebreuil@google.com>
--

wpt-commits: d9a788528c7101cd80ab3c70ea975a2e460f06e8
wpt-pr: 60880
…invalidOffer) rollback test, a=testonly

Automatic update from web-platform-tests
[webrtc] Fix broken setRemoteDescription(invalidOffer) rollback test (#60917)

Co-authored-by: Adam Pace <Ajp121@users.noreply.github.com>
--

wpt-commits: 0510bcc94f8f984b8bcf63d4c4f8b831b306dc3a
wpt-pr: 60917
…melementregistry' shadow root parsed via setHTMLUnsafe should use null registry, a=testonly

Automatic update from web-platform-tests
Built-in element inside 'shadowrootcustomelementregistry' shadow root parsed via setHTMLUnsafe should use null registry (#61264)
--

wpt-commits: 48918aa5d10863ff1f2987d1c00a6e3d28f5f2c3
wpt-pr: 61264
…ures more useful., a=testonly

Automatic update from web-platform-tests
Update the event-timing WPT to make failures more useful. (#61310)

Also delay the frame resize until the corresponding event handler is
added.

Bug: 397737222
Change-Id: I2db5cea6e4c1b29c8a307e83ca08b5d4f597116d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8093862
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1662575}

Co-authored-by: Mustaq Ahmed <mustaq@google.com>
--

wpt-commits: 5a8d13dc2c8066a07668d0e3f8499010e45b77f0
wpt-pr: 61310
…-011.html, a=testonly

Automatic update from web-platform-tests
Update fuzzy matching on clip-path-shape-011.html (#61315)

This test needs a tiny bit more fuzziness.

Fixed: 526503299, 484322474
Change-Id: I923f7d35380acbd1b2dbd788d34a19b21c3bf077
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8096103
Commit-Queue: Noam Rosenthal <nrosenthal@google.com>
Auto-Submit: Philip Rogers <pdr@chromium.org>
Reviewed-by: Noam Rosenthal <nrosenthal@google.com>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1662754}

Co-authored-by: Philip Rogers <pdr@chromium.org>
--

wpt-commits: 459ebd4af0552317f8d96c094b1509ae4f47313b
wpt-pr: 61315
…/show_bug.cgi?id=316882, a=testonly

Automatic update from web-platform-tests
WebKit export: CSS object-view-box: implement rendering and natural sizes (#61289)

https://bugs.webkit.org/show_bug.cgi?id=316882
--

wpt-commits: 7def19f43977805285a50516db4404e8fbc28138
wpt-pr: 61289
…t, a=testonly

Automatic update from web-platform-tests
[Masonry] Container fragmentation support

This CL adds support for grid-lanes container fragmentation.

Fragmentation of grid-lanes items will be handled in follow-up CLs.

Similar to CL:8020862, but for grid-lanes.

Bug: 343257585
Change-Id: I1da1c260928f12bcf12407723023227075b64784
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8102962
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1663150}

--

wpt-commits: 3ee1a16bc9c52ff5a27473d45f611dd8514c2a7a
wpt-pr: 61329
…test, a=testonly

Automatic update from web-platform-tests
Add webExtension runtime.getVersion() (#56993)
--

wpt-commits: 09d8679592c080dd4d4794e45847a2f73df3a94c
wpt-pr: 56993
…e with <link rel=compression-dictionary>, a=testonly

Automatic update from web-platform-tests
Add test for processing of type attribute with <link rel="compression-dictionary">

rel=compression-dictionary does not have a default type, so it should
always fetch the link when the type is omitted. When the type is specified
the same is true if "UA does support the given MIME type for the given link
relationship" and "even if that is not a valid MIME type string". Details
don't seem to be specified but this test assumes UAs support any type for
rel=compression-dictionary, which is what Chromium, Firefox and WebKit do.

http://github.com/whatwg/html/pull/11620
https://html.spec.whatwg.org/#processing-the-type-attribute

--
address review comments

--

wpt-commits: cd05db335cb5def1c141fe68f5ad5baa1d0e714a, aa26903a9de470463e8b8ee6e733319baa547083
wpt-pr: 61211
…der as early hints, a=testonly

Automatic update from web-platform-tests
Test link rel=compression-dictionary header as early hints

Spec PR: whatwg/html#11620

This is currently only implemented in Firefox but not covered by any test:
https://searchfox.org/firefox-main/rev/5e465cbe324a291bb69aa85c5c4231e052cabe9a/netwerk/protocol/http/EarlyHintsService.cpp#106

--

wpt-commits: 27d2ee72d025342dd435074bc5f9b454d9d7191b
wpt-pr: 61119
mystor and others added 22 commits July 21, 2026 04:07
…ction toggle r=android-reviewers,gmalekpour,mavduevskiy

Introduce IPProtectionPreferencesMiddleware to intercept user-initiated Toggle actions
   and persistently record VPN usage on the current device

Differential Revision: https://phabricator.services.mozilla.com/D310793
…ranslations-reviewers

This commit fixes the issue where the Translations
first-use header reverts when you switch the language
while the Full-Page Translations Panel is open.

Differential Revision: https://phabricator.services.mozilla.com/D298900
…arent r=gregtatum,translations-reviewers

This commit refactors the way that the FindBar's open state is queried
within TranslationsParent to make things easier for the transition into
translating iframes within subsequent commits.

Differential Revision: https://phabricator.services.mozilla.com/D297026
…ationsParent r=gregtatum,translations-reviewers

This commit refactors the way that full-page translation is started
within TranslationsParent to make things easier for the transition
into translating iframes within subsequent commits.

Differential Revision: https://phabricator.services.mozilla.com/D297027
…s r=gregtatum,translations-reviewers

This commit updates the actor management for the TranslationsParent
and TranslationsChild actors to ensure that they are loaded into
sub frames of the page, instead of only the main frame.

Differential Revision: https://phabricator.services.mozilla.com/D297028
…regtatum,translations-reviewers

This commit reworks the full-page translation algorithms to enable
translating iframe content and attributes, in addition to the main
page's top-level content.

Differential Revision: https://phabricator.services.mozilla.com/D297029
…eviewers

This commit adds a new test page that can be used specifically to
test the translation of iframes for full-page translation.

Differential Revision: https://phabricator.services.mozilla.com/D297030
…tum,translations-reviewers

This commit introduces several new test cases to ensure that the
behavior of translating iframes within full-page tranlation is
working as expected.

Differential Revision: https://phabricator.services.mozilla.com/D297031
…,translations-reviewers

This commit adds the ability for `<iframe>` content that is
loaded from `about:blank` or `about:srcdoc` to translate as
sub-frame content while still restricting offering full-page
translation for these as top-level pages.

This fixes the particular `<iframe>` issue in Bug 2038279,
which is not addressed by the rest of this stack.

Differential Revision: https://phabricator.services.mozilla.com/D299444
…reviewers

This commit improves the reasoning behind the `TranslationsUtils.langTagsMatch()`
function to consider canonicalization as one of the steps. This lets us further
unify the lang-tag matching code throughout the Translations component.

Differential Revision: https://phabricator.services.mozilla.com/D302536
…,translations-reviewers

This patch removes code that will become obviously unneeded
once we move the page-text extraction code to native C++,
and then rework the TranslationsChild to be lazily initialized.

Differential Revision: https://phabricator.services.mozilla.com/D302537
This commit defines the WebIDL and IPDL interfaces used to request
DocumentLanguageMetadata through the WindowGlobal parent/child pair.

Differential Revision: https://phabricator.services.mozilla.com/D302538
…n,saschanaz

This commit implements document-language metadata requests in
WindowGlobalChild. Each request waits for the document load event or a
timeout, extracts the HTML lang attribute and a text sample, then may
retry sampling based on how much text was sampled, controlled by prefs.

Differential Revision: https://phabricator.services.mozilla.com/D302539
…arent r=gregtatum,translations-reviewers,saschanaz

This commit updates TranslationsParent to consume document-language metadata payload
from WindowGlobal instead of asking TranslationsChild to extract page text.

Differential Revision: https://phabricator.services.mozilla.com/D302540
…regtatum,translations-reviewersnika

Updates the TranslationsParent code so that sub-frame actors are
created lazily only when translation is requested, instead of
eagerly at page load.

Differential Revision: https://phabricator.services.mozilla.com/D310702
…,translations-reviewers

This commit reworks the full-page translation offer logic to use the
new document-language metadata API, and improves readability by letting
the logic map directly to conditions in a decision matrix.

Differential Revision: https://phabricator.services.mozilla.com/D302541
…ns-reviewers

This commit updates all of the test cases and expectations to conform
to the new language-identification behavior, and updated decision-making
about when to offer full-page translation to the user.

Differential Revision: https://phabricator.services.mozilla.com/D302542
…bar result explanations. r=daisuke,fluent-reviewers,bolsson

This implements the "{n} days ago", "{n} weeks ago", and "{n} months ago" logic
from the content spec [1]. The spec isn't entirely clear on whether a week means
a calendar week or seven days, or whether a month means a calendar month or ~30
days.

Common usage of these words is the calendar meaning IMO, so that's what I've
implemented.

I forgot or didn't realize that `Intl.RelativeTimeFormat` returns localized
strings like "{n} days ago". We don't need separate l10n strings for those
after all. Sorry for the churn.

[1] https://docs.google.com/document/d/1OS54nHYSCsngEp0ybRZ6-8TQ-HSVOec5jbaVHLer_oY/edit?tab=t.k6aje44ao6nu

Depends on D311478

Differential Revision: https://phabricator.services.mozilla.com/D311787
…ers,android-reviewers,nalexander,ahochheiden

Update the temporary detekt ktlint aliases with top-level detekt plugin. With current implementation, the mach instances are overwriting and corrupting the same objdir causing failures even without touching code. This is not caught by try as it runs subproject linters sequentially.

Differential Revision: https://phabricator.services.mozilla.com/D311097
Since LoginManagerStorage.create() became asynchronous (bug 2042808),
this._storage the  synchronous uiBusy and isLoggedIn getters could threw a
TypeError during a small window before the storage has bneen set.

Differential Revision: https://phabricator.services.mozilla.com/D312993
@jporter-dev jporter-dev added the branch:main PR that should be merged on enterprise-main branch label Jul 21, 2026
@jporter-dev
jporter-dev force-pushed the main-merge_2026072100 branch from d391d52 to fa48a09 Compare July 21, 2026 15:37
@jporter-dev
jporter-dev force-pushed the main-merge_2026072100 branch from fa48a09 to 1fbb802 Compare July 21, 2026 16:25
@jporter-dev
jporter-dev merged commit 81f60bc into mozilla:enterprise-main Jul 22, 2026
131 of 133 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch:main PR that should be merged on enterprise-main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.