0
Commit Graph

1549692 Commits

Author SHA1 Message Date
Paul Semel
f0ffa8f6c4 fuzzing: rewrite FirstPartySetFuzzer to avoid gRPC dependency
Since we cannot depend on the gRPC corpus anymore, it's a good idea to
start using FuzzTest so that we ensure the generated strings are valid
JSON.

Here, we're using a particular domain that'll both create valid and
invalid JSON. This actually mimics the old corpus, because at every
fuzzer start, we are feeding the string mutator with a valid JSON.
This helps go deeper with a simple string mutator, while still testing
for invalid cases.

Bug: 399449169
Change-Id: I2e81d87323728b933a28fd84de95cb86a63281e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6308902
Commit-Queue: Paul Semel <paulsemel@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428401}
2025-03-05 09:50:32 -08:00
Ankush Singh
cd08b67eed [themes] Commit local theme upon batch upload
Local theme was being set but not committed upon batch upload trigger (TriggerLocalDataMigration). This CL fixes that.

Change-Id: I11001ebffb8cc7f54326d72d72c3744791cd89b1
Bug: 400952604,392074002
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6328621
Reviewed-by: Maksim Moskvitin <mmoskvitin@google.com>
Commit-Queue: Ankush Singh <ankushkush@google.com>
Cr-Commit-Position: refs/heads/main@{#1428400}
2025-03-05 09:49:13 -08:00
utzcoz
477e5a2cb2 device: Add basic local tests for XrFeatureStatus
Leverage Robolectric to test completed feature of
XrFeatureStatus#isXrDevice.

Test: ninja -C out/Default device_junit_tests
      out/Default/bin/run_device_junit_tests

Change-Id: I4d91cbeae2fa22570e445947cab2e733650ceb2a
Signed-off-by: utzcoz <utzcoz@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6314743
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428399}
2025-03-05 09:46:51 -08:00
Dana Fried
051570d153 Fix potential crash when method returns null.
Bug: 400921315
Change-Id: Id241c62ecb817fa81de0bd7c47455b66d1c3da4f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327983
Reviewed-by: Darryl James <dljames@chromium.org>
Auto-Submit: Dana Fried <dfried@chromium.org>
Commit-Queue: Darryl James <dljames@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428398}
2025-03-05 09:46:08 -08:00
chromium-autoroll
95eb113a9c Roll Chrome Android ARM64 PGO Profile
Roll Chrome Android ARM64 PGO profile from chrome-android64-main-1741184764-92f8a665201c071e3278e824acbe2c270d4e41af-952696fa0c0494e8777c32cbe9efbcc9d8d8717a.profdata to chrome-android64-main-1741188808-01637d862172e42c985e22529b968a8091584314-ba221a64592ef8b71fa67b3e2073a906e7678dfd.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-android-arm64-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: I27e88fb81b83bb58d71a581d8769af919290e248
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329559
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428397}
2025-03-05 09:44:22 -08:00
Devon Loehr
3f11306ca6 Stringify bools consistently
This changes instances of `b ? "true" : "false"` to use
`base::ToString(b)` instead, for consistency.

This change applies to the following directories:
services

This CL was uploaded by git cl split.

Bug: 335797528
Change-Id: I7aa2e12f6c9b21ac7495a195451f167679794043
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327404
Commit-Queue: Colin Blundell <blundell@chromium.org>
Auto-Submit: Devon Loehr <dloehr@google.com>
Reviewed-by: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428396}
2025-03-05 09:42:54 -08:00
Chromium WPT Sync
4569675f19 Import wpt@a33cc7c5e09294c80c78bd2d3dfadfe9e7ce302f
3c11c5bae...a33cc7c5e

Using wpt-import in Chromium 0196b934a3.
With Chromium commits locally applied on WPT:
  e73515f68c "blink: Add fuzzy matching for object-view-box ref test."
  a90b64f5bf "Scheduling APIs: Fix yield subframe tests"

Note to gardeners: This CL imports external tests and adds expectations
for those tests; if this CL is large and causes a few new failures,
please fix the failures by adding new lines to TestExpectations rather
than reverting. See:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md

Directory owners for changes in this CL:
domenic@chromium.org, wjmaclean@chromium.org:
  external/wpt/html/browsers/origin/origin-keyed-agent-clusters
hongchan@chromium.org, mjwilson@chromium.org:
  external/wpt/webaudio
kojii@chromium.org:
  external/wpt/css/css-writing-modes
vogelheim@chromium.org:
  external/wpt/trusted-types

NOAUTOREVERT=true

No-Export: true
Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Change-Id: I6446266de7f690debe57c7087d8e4a3a3f52906b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6324291
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1428395}
2025-03-05 09:42:08 -08:00
Joel Tan-Aristy
156186d9eb Fixes setStatusBarColor call in onPreCreate
EdgeToEdgeManager is not available in #onPreCreate. Since
#setStatusBarColor is called when EdgeToEdgeEverywhere is disabled,
EdgeToEdgeSystemBarColorHelper is not needed by the
StatusBarColorController to #setStatusBarColor.

Bug: 399763658
Change-Id: Ife39f67e61c9ab167c4b04d59427f9d9f4ae364a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6323483
Reviewed-by: Charles Hager <clhager@google.com>
Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
Commit-Queue: Joel Tan-Aristy <jtanaristy@google.com>
Cr-Commit-Position: refs/heads/main@{#1428394}
2025-03-05 09:40:40 -08:00
Jonathan Ross
3591d3bde0 Launch DispatchScrollEventsUntilDeadline
Switching the default of WaitForLateScrollEvents after validation.

Bug: 329346768
Change-Id: I9b125ab36209c7fc79d5d59656ee738152170dfb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329416
Auto-Submit: Jonathan Ross <jonross@chromium.org>
Commit-Queue: Victor Miura <vmiura@chromium.org>
Reviewed-by: Victor Miura <vmiura@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428393}
2025-03-05 09:37:20 -08:00
Lily Chen
33f8384c2b [Downloads] Check original URL for Webstore domains
Downloads from the Chrome Webstore may go through several redirects.
We should check that the original URL is associated with the CWS, not
the final download URL.

Bug: b:399447642
Change-Id: Ifea2c007fb187a7cd4da8fd288e4f02c9a9f3474
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6313464
Reviewed-by: Shakti Sahu <shaktisahu@chromium.org>
Commit-Queue: Lily Chen <chlily@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428392}
2025-03-05 09:36:44 -08:00
Nina Satragno
71d320df58 [crypto] Disable labelling Win unexportable keys
Disable LabelWindowsUnexportableKeys. It looks like with the feature
enabled, keys created by the installer as administrator cannot be read
by Chrome running as a normal user.

Fixed: 400919466
Change-Id: Id75ae4da439203b880f3a9298b2972cdb0f5d486
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329457
Auto-Submit: Nina Satragno <nsatragno@chromium.org>
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: Nina Satragno <nsatragno@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428391}
2025-03-05 09:35:54 -08:00
Ian Kilpatrick
cc8a6bef3c [flex] Remove LayoutDisableWebkitBoxQuirks flag.
On since M133. Had one regression, and can easily merge with conflict
if we need to do something about it (provided potential mitigation).

Bug: 384765587
Change-Id: Ifc9fefc1a9177e6af2746d15af784d7d858e0df8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6102353
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428390}
2025-03-05 09:35:35 -08:00
Marc Treib
44c9b52685 [iOS] Mark the personal profile as initialized
...even if kSeparateProfilesForManagedAccounts is disabled.
This doesn't really make a difference, but is more consistent (and the
pre-existing profile won't show up as "uninitialized" in
chrome://profile-internals).

Bug: 331783685
Change-Id: I909ae576904e01c1b182e477c7bba1dfa5ab048f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6326292
Commit-Queue: Marc Treib <treib@chromium.org>
Reviewed-by: Jérôme Lebel <jlebel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428389}
2025-03-05 09:34:46 -08:00
thefrog
3e40ff1bc6 Fix null derefs of session_identifier_ in RegistrationFetcher
This CL:
 - Adds a web platform test for registration sending back a challenge:
   registration-sends-challenge.https.html.
 - Remove derefs of session_identifier_ for registration (when it is not
   populated). This applied to error handling code paths kSigningError
   and kInvalidChallenge.

Bug: 353767385
Change-Id: I3143b60c64b9b6d34dea2cb117ca1f674c5d3314
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6328159
Reviewed-by: Daniel Rubery <drubery@chromium.org>
Commit-Queue: thefrog <thefrog@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428388}
2025-03-05 09:34:26 -08:00
Calder Kitagawa
c5998f081d [Tab Switcher] Disable new ETC1 encoder that might cause test flakes
It is speculated the new encoder might cause a race in this test. Set
it to be disabled. These tests probably need a rewrite anyway.

Bug: 400962657
Change-Id: Ia6090e4b1716fb83ace54ba815e19088ea9e2efb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329996
Auto-Submit: Calder Kitagawa <ckitagawa@chromium.org>
Commit-Queue: Sky Malice <skym@chromium.org>
Reviewed-by: Sky Malice <skym@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428387}
2025-03-05 09:33:35 -08:00
PKI Metadata Updates Bot
1cd0db1b2b Automatic update from google3
Automatic update for 2025-03-05 UTC

Merge-Approval-Bypass: pki-metadata-updater
Change-Id: I02e1129a6b90e69a004c8c6c3fcbc8eb7b1075de
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327859
Commit-Queue: PKI Metadata Updates Bot <mdb.chrome-pki-metadata-release-jobs@google.com>
Bot-Commit: PKI Metadata Updates Bot <mdb.chrome-pki-metadata-release-jobs@google.com>
Cr-Commit-Position: refs/heads/main@{#1428386}
2025-03-05 09:33:16 -08:00
Sam Davis Omekara (from Dev Box)
fcb3b0ab4a [Gap Decorations]: Build GapIntersectionLists on GapGeometry
This CL populates `GapGeometry` with offsets of intersection points
within a grid. It begins by adding two vectors of GapIntersectionLists,
representing lists of intersection points for each track direction
(columns and rows). `BuildGapIntersectionPoints()` is added to the grid
layout algorithm, populating intersection points for each gap row-wise
and column-wise.

Subsequent changes will mark the "blocked" status of each intersection
point based on the presence of spanning items.

Bug: 357648037
Change-Id: I234b4ea63d011815e600344722334fc153b3cf79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6313080
Reviewed-by: Kevin Babbitt <kbabbitt@microsoft.com>
Commit-Queue: Sam Davis Omekara <samomekarajr@microsoft.com>
Reviewed-by: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1428385}
2025-03-05 09:30:32 -08:00
Jonathan Lee
012eb46355 Reland "[chromedriver] Allow clients to stop browser process gracefully"
This is a reland of commit 5b8272d344

Changes since original (PS1):
  Initialize `Capabilities.quit_gracefully` before using (MSAN failure
  log: https://paste.googleplex.com/4895326018994176).

Original change's description:
> [chromedriver] Allow clients to stop browser process gracefully
>
> Add a Chrome-specific capability `quitGracefully` that forces
> chromedriver to attempt to stop the browser with `Browser.close` or
> SIGTERM. wptrunner will enable this capability when used with the `rr`
> debugger (`rr record chrome ...`), which needs time to dump the
> recording. The runner doesn't want to manage `--user-data-dir` or
> `--log-net-log` itself, so the existing code path for graceful quit
> is insufficient.
>
> SIGKILL remains the default behavior so that quitting remains fast for
> clients that don't opt-in.
>
> Bug: 339644807
> Change-Id: I8b4286bb188f36d0c786e78bf6257c516c91f865
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6269180
> Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
> Reviewed-by: Maksim Sadym <sadym@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1427507}

Bug: 339644807
Cq-Include-Trybots: luci.chromium.try:linux-webkit-asan-rel
Cq-Include-Trybots: luci.chromium.try:linux-webkit-msan-rel
Change-Id: Iff6dea47c3d2e3c33844e7117fa61d817d9a56f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6322538
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Reviewed-by: Maksim Sadym <sadym@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428384}
2025-03-05 09:30:24 -08:00
chromium-autoroll
52d89d3dca Roll DevTools Frontend from 2380d438d1c5 to fad5eea3e525 (4 revisions)
2380d438d1..fad5eea3e5

2025-03-05 devtools-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com Roll browser-protocol
2025-03-05 dsv@chromium.org Add and use a helper to create view functions stub.
2025-03-05 dsv@chromium.org Do not create toolbar item on the subsequent connectedCallback invocations
2025-03-05 jacktfranklin@chromium.org AI: provide network summary to Perf Insights agent

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/devtools-frontend-chromium
Please CC devtools-waterfall-sheriff-onduty@rotations.google.com,liviurau@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: chromium:388730998,chromium:400939386
Change-Id: Ibd4018bd8433a3eea0916789540a803e42cfce9c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329576
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428383}
2025-03-05 09:22:40 -08:00
m3rbi
2fc315fd20 Add support for https test server in android
Move https_test_server logic from InProcessBrowserTest to
BrowserTestBase to be used by android tests as well.

Change-Id: I4e7c05c3f7f233afc5b131d57b8c1050c1f3a35c
Bug: 41482548
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6315364
Reviewed-by: Chris Thompson <cthomp@chromium.org>
Reviewed-by: David Roger <droger@chromium.org>
Commit-Queue: Chris Thompson <cthomp@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428382}
2025-03-05 09:19:22 -08:00
Jakob Kummerow
1a8bf97232 Add WebDX use counters for WebAssembly Branch Hinting
Bug: 373151164
Change-Id: I4aef460d5f3b89ee48ea076b6906e7877518e158
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6328607
Reviewed-by: Shu-yu Guo <syg@chromium.org>
Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428381}
2025-03-05 09:18:44 -08:00
Jennifer Serrano
39098139d8 [ntp][enterprise] Create helper for MSFT files and Outlook modules
Moves duplicate logic into one helper file.

Bug: 399145665
Change-Id: Ie3c40505f8d7cd87f43be8ff77f61e6662e1cf85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6324809
Reviewed-by: Riley Tatum <rtatum@google.com>
Commit-Queue: Jennifer Serrano <jennserrano@google.com>
Cr-Commit-Position: refs/heads/main@{#1428380}
2025-03-05 09:18:13 -08:00
Ashley Newson
8f7130a94a Revert "Add NewEtc1Encoder to field trial testing config"
This reverts commit d83f460996.

Reason for revert: crbug.com/400962657 identified as culprit of test failure(s) via manual bisect.

Original change's description:
> Add NewEtc1Encoder to field trial testing config
>
> Bug: 369986099
> Change-Id: I95a12411940e927f5079b6bb48d187979fbecf96
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6218423
> Auto-Submit: Tatsuyuki Ishi <ishitatsuyuki@google.com>
> Commit-Queue: Tatsuyuki Ishi <ishitatsuyuki@google.com>
> Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
> Reviewed-by: Theresa Sullivan <twellington@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1427502}

Bug: 400962657
Bug: 369986099
Change-Id: I641626f813e1a840ebb49c9c7fc1ef809c9f8de3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329636
Commit-Queue: Ashley Newson <ashleynewson@chromium.org>
Owners-Override: Ashley Newson <ashleynewson@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428379}
2025-03-05 09:17:33 -08:00
Fredrik Söderquist
2c05f273dd Clean up unused includes of graphics_types.h
Bug: 399058536
Change-Id: I06f67b16e28fce5a4cbb58f3ad7b27c2c26d40da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6328603
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428378}
2025-03-05 09:16:58 -08:00
Alvin Lam
c7b42acb5b [Ad Privacy] Add support for multiple dialogs as part of v3
This CL adds a new ENUM to allow for dynamically loading dialogs. Naming for `PrivacySandboxDialogV3` has been generalized as part of this CL.

One pager: go/ps-clank-dialog-redesign

Bug: 392943234
Change-Id: I88753f74a9ca34d4781af85afdd756c0e2c87cff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6299071
Reviewed-by: Abe Boujane <boujane@google.com>
Commit-Queue: Alvin Lam <alvingo@google.com>
Reviewed-by: Jacob Stanley <jacobstanley@google.com>
Cr-Commit-Position: refs/heads/main@{#1428377}
2025-03-05 09:14:45 -08:00
chromium-autoroll
092f039424 Roll Chrome Mac Arm PGO Profile
Roll Chrome Mac Arm PGO profile from chrome-mac-arm-main-1741183185-8ae6ef9b4776c9c9881e53839f76d9235675a571-ab824e7d53ae3f752923047d6065a2f99cd20bbd.profdata to chrome-mac-arm-main-1741190381-4ded8d0ffa50d0eb025afc1f90ee405649e7b2b8-0573bc7a395ce27ca41a28cbe53d05664e775fb5.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-mac-arm-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:mac-chrome
Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: I765a8be4e84df3c9721588f9191da551843e16a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329540
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428376}
2025-03-05 09:13:44 -08:00
Dominique Fauteux-Chapleau
ccbe42cbad Add Data Masking fields in URLF response proto
See cl/733379646 for equivalent server-side change

Bug: 364268227
Change-Id: I1d8eddbac205d641951879f14d041a1a5a5cb2a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327255
Auto-Submit: Dominique Fauteux-Chapleau <domfc@chromium.org>
Commit-Queue: thefrog <thefrog@chromium.org>
Reviewed-by: thefrog <thefrog@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428375}
2025-03-05 09:09:02 -08:00
Colin Blundell
81d95b731c [Blink] Add CreateFromCanvasSI() variant taking in gfx::ColorSpace
This CL adds a variant of
AcceleratedStaticBitmapImage::CreateFromCanvasSharedImage() that takes
in gfx::ColorSpace instead of SkColorSpace. This change is a bit more
subtle than others as callsites that currently pass null for the
SkColorSpace (which implicitly means SRGB) will now change to explicitly
pass an SRGB gfx::ColorSpace, which will then get converted internally
to an explicit SRGB SkColorSpace. So rather than do all the conversions
in one CL I'll do them iteratively to analyze each and make sure that
this nuance is unproblematic. This CL makes the change for a test.

Bug: 371227617
Change-Id: I3f6058a6933bfba71e376eec2fdb153d22372dad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327379
Commit-Queue: Colin Blundell <blundell@chromium.org>
Reviewed-by: Saifuddin Hitawala <hitawala@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428374}
2025-03-05 09:07:48 -08:00
Hardik Goyal
c0a1d2dcc5 Extend two histograms used for cryptohome health monitoring
The corresponding histograms:
* Cryptohome.{AuthBlockType}.PrepareForRemovalResult
* Cryptohome.{AuthBlockType}.RevokeCredentialResult

BUG=394084932
Fixed:394084932

Change-Id: I31ee04b66b0022311d60d066f94da5b5e1cdbadc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6322988
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Commit-Queue: Hardik Goyal <hardikgoyal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428373}
2025-03-05 09:05:56 -08:00
Mikel Astiz
38594e42b0 [signin] Remove expired histogram about users with previous accounts
This effectively reverts the patch that introduced the metric, namely
https://crrev.com/c/4348462.

Change-Id: I950581cc21ff3ef28ba962c2ee26db1712a61679
Bug: 376054408
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6324874
Reviewed-by: Mihai Sardarescu <msarda@chromium.org>
Reviewed-by: Ryan Sultanem <rsult@google.com>
Commit-Queue: Mikel Astiz <mastiz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428372}
2025-03-05 09:04:45 -08:00
chromium-autoroll
7d35d1997b Roll Crossbench from 24f2876a66bf to 0846d1959628 (1 revision)
https://chromium.googlesource.com/crossbench.git/+log/24f2876a66bf..0846d1959628

2025-03-05 cbruni@chromium.org Fix some typos

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/crossbench-chromium
Please CC cbruni@google.com,crossbench@chromium.org,johnchen@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: johnchen@google.com
Change-Id: Idf1b013c3e8fac4d7a5eb9c5c3e241c6e478cfe9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327797
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428371}
2025-03-05 09:04:36 -08:00
Fiaz Muhammad
9af94084e6 [Tab Group Parity] Clean Row Destroyables
- New destroyable property and setter for subclasses
- Method to iterate through and destroy said destroyables if present

Bug: 400469526
Change-Id: I58696815677ec4c005b76d95565b29df5b708c4e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6322671
Commit-Queue: Fiaz Muhammad <mfiaz@google.com>
Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
Reviewed-by: Sky Malice <skym@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428370}
2025-03-05 09:00:24 -08:00
Peter Kotwicz
9f86b0d32f Add metric for how frequently javascript-optimizer is disabled by OS
BUG=400436373

Change-Id: I9e60b7ebe19a1f554d0f25591792dad1ab266621
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6317626
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Reviewed-by: Justin DeWitt <dewittj@chromium.org>
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428369}
2025-03-05 08:59:44 -08:00
May Siem
9a608bb840 [PWA]: Speculative fix for web share images not showing on Mac Messages
This CL changes the timeout of OnShowSharePicker to 60 seconds to allow
enough time for messages to open a given file before it is deleted.

It appears that files shared are scheduled to be deleted as soon as the
share service notifies that it has finished sharing the items. Extending
the timeout should allow ample time for the file to load in messages.

Tested manually by running chrome on mac and sharing
https://g-issues.chromium.org/370252260#attachment59729494
to messages. Image appears in messages when message app is open and
when message app is closed.

Once this change is merged, a bug will be filed with the apple team
to do a more thorough search/investigation for a proper fix (if
needed).

Bug: 370252260
Change-Id: I4b75a57fc152038056604b19e4328bcda57f4c4a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6324035
Commit-Queue: May Siem <msiem@chromium.org>
Reviewed-by: Dibyajyoti Pal <dibyapal@chromium.org>
Reviewed-by: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428368}
2025-03-05 08:59:14 -08:00
Justin Lulejian
1e629d453d [Extensions] Limit last window activation if browser isn't active.
Before this change `chrome.windows.create({ focused: false })`
unconditionally activates the last active chromium window (even if
chromium was not the last active program). This was to address a
limitation of active_browser->window()->Activate(). But the consequence
of that is if a user is focused on another program it would switch
focus to chromium unconditionally.

After this change we add a condition that the chromium browser must be
active for us to activate the last active window. This means that we no
longer interrupt the user if focus is in another program.

Fixed: 398173033
Change-Id: Ia3198b371bd2419c1d9f8628f74ac64804275c0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6320633
Reviewed-by: David Bertoni <dbertoni@chromium.org>
Reviewed-by: Keren Zhu <kerenzhu@chromium.org>
Commit-Queue: Justin Lulejian <jlulejian@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428367}
2025-03-05 08:58:11 -08:00
Peter Wen
25a60acbe4 android: Add GN dependency graph to stats
Previously only the actual jdeps graph was used, and it was missing
additional deps that are only in GN. This CL also parses the GN target
dep from project.json.

The script now requires passing `-C` or `--out-dir` for the output
directory in which to generate project.json.

Skip testonly targets and targets with 'test' in their name by default.
Pass --include-testonly to add them back.

Add some targets that the annotator regularly misses (e.g. annotations,
errorprone, profiling) as these are not blockers for other targets to be
annotated.

Allow verbose output to show more information about each target and
which other targets they depend on.

Improve transitive dep detection to account for up to 2^5 = 32 deep
dep-chains. i.e. A1 depends on A2 ... depends on A32 should all be
resolved in the transitive dep graph correctly.

Takes less than 2 minutes with --no-cache, and 15 seconds with a full
cache (i.e. /tmp files and existing project.json file).

R=hnakashima@chromium.org

Bug: 389129271
Change-Id: I565c682e2e5b3bf96f1a76e47c0449479b9e1796
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329736
Auto-Submit: Peter Wen <wnwen@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428366}
2025-03-05 08:57:10 -08:00
Duong Dac
91fab14eb5 [iOS] Add close button for PACP bottom sheet
This close button is based on that of panel_content_view_controller.mm
See the bug entry for demos.

Bug: 399599842, 399599843
Change-Id: I03ee96974776d1d06845a1c4972f1b7b8a077020
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6309159
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Duong Dac <ddac@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428365}
2025-03-05 08:56:12 -08:00
Aldo Culquicondor
55d2302961 Extend expiry of back-forward-transitions
We are still actively developing and optimizing the feature.

Fixed: 400504724
Change-Id: I53f33ca1addfd4e29012df1b72fb2896a8c8eef8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329316
Commit-Queue: Aldo Culquicondor <acondor@chromium.org>
Reviewed-by: William Liu <liuwilliam@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428364}
2025-03-05 08:56:01 -08:00
Hongchan Choi
f7cc759113 Clarify WebAudio related variables and comments in MediaStreamSource
No functional changes. This is to solidify the understanding of the
code.

Bug: 357784800
Change-Id: I2af3676b140a439bd831fe1b238288ac2a0175f3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6319000
Reviewed-by: Michael Wilson <mjwilson@chromium.org>
Reviewed-by: Olga Sharonova <olka@chromium.org>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428363}
2025-03-05 08:55:01 -08:00
chromium-autoroll
1f41675a0d Roll goldctl (win) from LZpmI-6e2-R1o2X3Z... to xa9dza8Y74PPBKEHX...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/goldctl-win-chromium-autoroll
Please CC bsheedy@chromium.org,kjlubick@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in goldctl (win): https://bugs.chromium.org/p/skia/issues/entry?owner=kjlubick@google.com
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bsheedy@chromium.org
Change-Id: I907fe832a44b5e5550d116f33490c4cc5cad6ff4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6329018
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428362}
2025-03-05 08:54:50 -08:00
chromium-autoroll
dae5f348b6 Roll NaCl from 1258a9e17b23 to bcb2019294ee (1 revision)
1258a9e17b..bcb2019294

2025-03-05 fabiansommer@chromium.org Rebase saigo

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/nacl-autoroll
Please CC fabiansommer@chromium.org,fabiansommer@google.com,mseaborn@chromium.org on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: chromium:40210191
Tbr: fabiansommer@chromium.org,mseaborn@chromium.org
Change-Id: I6778a8bad7c5b1d215c9851d41d41d8b3691f582
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6328086
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428361}
2025-03-05 08:53:50 -08:00
Shubham Gupta
d36996ec0b Add a CHECK_IS_TEST if |g_system_network_context_manager|
is not initialized.

Bug: 40634772

Change-Id: I2573c0a5d90666ad103ed0a680f179aabb6407f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6310177
Commit-Queue: Shubham Gupta <shubham.gupta@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428360}
2025-03-05 08:53:40 -08:00
chromium-autoroll
2d1d591b44 Roll Chrome Win32 PGO Profile
Roll Chrome Win32 PGO profile from chrome-win32-main-1741165100-592e8dec121a34a9197e99404446c36eac643d99-e4307327d0622fe4c6db7014c0707a972575405c.profdata to chrome-win32-main-1741175864-05d1c78028dd97a7939eb7928010790a26e63b53-a16f24bf6e0e86e06648b142054b91261860227f.profdata

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/pgo-win32-chromium
Please CC chrome-brapp-engprod@google.com,pgo-profile-sheriffs@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Chromium main branch: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:win-chrome
Tbr: pgo-profile-sheriffs@google.com
Merge-Approval-Bypass: Chrome autoroller
Change-Id: I536641abfe62c7b6a4c07eedb1644dbb6c86b539
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327848
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428359}
2025-03-05 08:52:40 -08:00
chromium-internal-autoroll
1f2fffcb2b Roll Help App from NglY04bmUmCBHDsaU... to DrKoFhmfjD2TV89KG...
Release_Notes: http://go/help_app-x20/relnotes/Main/help_app_nightly_202503050600_RC00.html

https://chrome-infra-packages.appspot.com/p/chromeos_internal/apps/help_app/app/+/DrKoFhmfjD2TV89KGsJwu15OATV41GBvT6aipRejc6QC

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/help-app-chromium-autoroll
Please CC cros-essential-apps-dev@chromium.org,help-app@grotations.appspotmail.com,jomag@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Cq-Include-Trybots: luci.chrome.try:linux-chromeos-chrome
Bug: None
Tbr: help-app@grotations.appspotmail.com
Change-Id: Ic8f6c4b6f669ec155e7c8f0263942b74c8727984
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327730
Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Bot-Commit: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428358}
2025-03-05 08:52:29 -08:00
Sebastien Lalancette
9e95c2f310 Look for the GAIA ID in the "sub" property as fallback
The userinfo test endpoint may return the Gaia identifier in a different
property than the prod endpoint. Look for it there as fallback.

Fixed: 400863982
Change-Id: I62f23009456ec8847b5c80a988909d5742beb3a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327238
Reviewed-by: Alex Ilin <alexilin@chromium.org>
Commit-Queue: Sébastien Lalancette <seblalancette@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428357}
2025-03-05 08:50:17 -08:00
Jan Keitel
b467a9ba82 Check empty suggestion text for structured types
Prior to this CL, we show suggestions that may have an empty main
text, if the main text is a sub-component of a structured attribute:

https://screencast.googleplex.com/cast/NjM2MTg0NTg3ODIyNjk0NHw5M2Q5MjJhNC1lNQ

This CL fixes that:

https://screencast.googleplex.com/cast/NjEwNTM4NjQ2ODc2OTc5MnxlM2M0MzkzMy03Nw

Bug: 389884340
Change-Id: I366037454f0cd5f1e74580e24ca61e55d82ed455
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6328306
Reviewed-by: Jihad Hanna <jihadghanna@google.com>
Commit-Queue: Jan Keitel <jkeitel@google.com>
Cr-Commit-Position: refs/heads/main@{#1428356}
2025-03-05 08:43:37 -08:00
Ari Chivukula
4e0c37342e [Partitioned Popins] Skip recording popup heuristics for popins
We should not record storage access grants for popins as they count as
embedded content for the purpose of storage access grants.

Bug: 340606651
Change-Id: I461a5da705c0edc0db9e17be65654d4dc36ab822
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6325430
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Commit-Queue: Ryan Tarpine <rtarpine@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Reviewed-by: Ryan Tarpine <rtarpine@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1428355}
2025-03-05 08:38:38 -08:00
Raphael Kubo da Costa
ca2edf06f5 //build/config: Add tvOS support to clang, Rust and Apple-related files
Now that `target_platform` has been added to mobile_config.gni, adjust
the rest of the files under //build/config:

- build/config/apple and build/config/ios: Make GN and scripts aware of
  the tvOS platform.

- build/config/clang: Check `target_platform` to decide which
  libclang_rt version to use.

- build/config/rust: Check `target_platform` to pick a tvOS Rust ABI
  target as documented in
  https://doc.rust-lang.org/nightly/rustc/platform-support/apple-tvos.html

Co-authored with Gyuyoung Kim <gyuyoung@igalia.com>

Bug: 391990604
Change-Id: I6ecd57c1a40c884c4cb44efdeaa030f855e11959
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6321990
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Raphael Kubo da Costa <kubo@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1428354}
2025-03-05 08:37:28 -08:00
Igor Kraskevich
f7b59c4691 Add field trial config for PartitionAllocParameterTuningAndroid
Bug: 400934417
Change-Id: Iab146752377fd88537581fe2571b683fd3553ab6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6328304
Reviewed-by: Eric Seckler <eseckler@chromium.org>
Auto-Submit: Igor Kraskevich <kraskevich@google.com>
Commit-Queue: Igor Kraskevich <kraskevich@google.com>
Cr-Commit-Position: refs/heads/main@{#1428353}
2025-03-05 08:36:13 -08:00
chromium-autoroll
a85ece9d50 Roll goldctl (mac arm64) from ZhEAr6v2tWN1oxK6l... to hD1Vv8Z7IQMShv-PK...
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/goldctl-mac-arm64-chromium-autoroll
Please CC bsheedy@chromium.org,kjlubick@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in goldctl (mac arm64): https://bugs.chromium.org/p/skia/issues/entry?owner=kjlubick@google.com
To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Bug: None
Tbr: bsheedy@chromium.org
Change-Id: I19595ade71206e973791828d58c7ffdcdd1fbcf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6327855
Bot-Commit: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: chromium-autoroll <chromium-autoroll@skia-public.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1428352}
2025-03-05 08:34:35 -08:00