0
Commit Graph

1494805 Commits

Author SHA1 Message Date
64c97f1d9a Merge null and non-null aggregatable report structs
Null aggregatable reports are just a special case of aggregatable
reports, so this eliminates various redundant code paths.

This CL contains no intentional user-visible behavioral changes.

BYPASS_LARGE_CHANGE_WARNING=refactoring change with net-negative LoC

Change-Id: I3d0433297b831207174887587bbfdf8b5be0a90e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5709639
Commit-Queue: Andrew Paseltiner <apaseltiner@chromium.org>
Reviewed-by: Nan Lin <linnan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373514}
2024-10-24 19:45:32 +00:00
4462cb1428 Finalize Windows SDK update to 26100
This CL deprecates support for SDK version 22621, meaning we now
require version 26100 for all builds. It also updates mc.exe checks to operate using the new SDK version. Note that mc (and midl) output did not output anything new when regenerated, although crrev.com/c/5954139 removes some obsolete outputs.

The change to windows_version.cc caused the regular MSI installers to be regenerated. The branded installers did not change.

Since we now support only SDK version 26100, we can remove the conditional code compilation added in the original CL (crrev.com/c/5898835).

Bug: 362650376
Change-Id: I1150151f9105d9478c5ec23be53fd139118eddaa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5949523
Reviewed-by: S Ganesh <ganesh@chromium.org>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Commit-Queue: Devon Loehr <dloehr@google.com>
Reviewed-by: Joe Mason <joenotcharles@google.com>
Reviewed-by: Greg Thompson <grt@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373513}
2024-10-24 19:43:47 +00:00
916e8f75f1 [infra] Migrate tests for standalone try builders to starlark.
This contains a fix for expanding GPU telemetry tests that have a
variant applied to them so that the variant identifier doesn't appear as
part of the test name in the arguments.

NO_IFTTT=Bringing starlark implementation into parity with //testing/buildbot re:stripping variant ID from test name

Bug: 40258588
Change-Id: Ifd281b5c68ba02998156c6a2875ce7a2591db59a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958194
Commit-Queue: Wanda Mora <morawand@google.com>
Auto-Submit: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Wanda Mora <morawand@google.com>
Cr-Commit-Position: refs/heads/main@{#1373512}
2024-10-24 19:43:00 +00:00
8b0f435979 Update windows build output scripts
Update our process for generating the intermediate build output
that we check in. The main changes are extending remc.bat to do a
more complete job in generating the mc files automatically, and
removing old mc output in base/trace_event that we don't need
since crrev.com/c/2171974 removed the corresponding build target.

Since remidl.bat has been superseded by tools/win/update_idl.py,
we remove it. We update the readme to mention how the outputs can
be regenerated using the scripts.

I also tried regenerated the mc and midl output for the 26100 SDK
update, but nothing needed updating.

Also some metadata changes in the readme to satisfy presubmits.

Bug: 362650376
Change-Id: I6b647672a6491d53c1dbd9b2eb9e0fee51c5fcbe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5954139
Reviewed-by: S Ganesh <ganesh@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Devon Loehr <dloehr@google.com>
Cr-Commit-Position: refs/heads/main@{#1373511}
2024-10-24 19:42:37 +00:00
5d44ab0a4f Make bootstrapping help bubble strings translatable
Fixed: 375184178
Change-Id: Ic12e512e732827970c62bff7adf83fbe0a4a4446
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5957176
Reviewed-by: Jihad Hanna <jihadghanna@google.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Andrii Natiahlyi <natiahlyi@google.com>
Cr-Commit-Position: refs/heads/main@{#1373510}
2024-10-24 19:38:54 +00:00
4fc4f8dc18 Add Base Categories to Task Manager Refresh
- Tabs, Extensions, and System will be the default categories. Platform specific categories may be added in later (e.g. Chrome Apps, ARC, etc.)

- Clicking on these categories will filter the list of processes shown in the table.

- The Search Bar (when implemented) will provide an additional level of granularity for the user (e.g. users that have hundreds of tabs open).

Screenshot Demo: https://screenshot.googleplex.com/5m33GxHYqYSU9mX

Change-Id: I3fa707f393596a265b863ca28d8b94cce884c36f
Bug: b:366251764
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5926542
Commit-Queue: Michael Wojcicka <mwoj@google.com>
Reviewed-by: Elly FJ <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373509}
2024-10-24 19:36:40 +00:00
b482353528 Roll Perfetto Trace Processor Linux from b374ca7d1f87 to adb90dc0b610
b374ca7d1f..adb90dc0b6

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/perfetto-trace-processor-linux-chromium
Please CC chrometto-team@google.com,perfetto-bugs@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: perfetto-bugs@google.com
Change-Id: I77d71a11c0774449769457f1583f3f4fa711b05b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962384
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@{#1373508}
2024-10-24 19:33:26 +00:00
eaf5495130 TextRenderingMode not being updated on FontDescription
The textRenderingMode is mapped to the wrong value. This cl fixes the
mapping.

Bug: 375388418
Change-Id: I39bdd518d690e693194150db00f9924a0bfb5d40
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5963036
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Commit-Queue: Yi Xu <yiyix@chromium.org>
Commit-Queue: Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373507}
2024-10-24 19:31:48 +00:00
64a034ef3b Roll BoringSSL from c28dcd61c9db to 7e2aa0a776bd (1 revision)
https://boringssl.googlesource.com/boringssl.git/+log/c28dcd61c9db..7e2aa0a776bd

2024-10-24 davidben@google.com Allow bssl_shim to be ptraced by anyone if waiting for a debugger

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

To file a bug in BoringSSL: https://crbug.com/boringssl/new
To file a bug in Chromium: https://crbug.com/new

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: boringssl-cabal@google.com
Change-Id: If88856721f231e93c797ef017d4510c58bbda77b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5960984
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@{#1373506}
2024-10-24 19:29:35 +00:00
6f15eedd28 [Mode B] Add Rewind entry to fieldtrial_testing_config
Bug: b:333527273
Change-Id: I2ff6901f8f15d37b7b5e7a35f562d3ec70b36ac4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962399
Reviewed-by: Kevin Graney <kmg@google.com>
Commit-Queue: Michelle Abreo <michelleabreo@google.com>
Auto-Submit: Fiona Macintosh <fmacintosh@google.com>
Commit-Queue: Kevin Graney <kmg@google.com>
Commit-Queue: Fiona Macintosh <fmacintosh@google.com>
Reviewed-by: Michelle Abreo <michelleabreo@google.com>
Cr-Commit-Position: refs/heads/main@{#1373505}
2024-10-24 19:28:53 +00:00
351bf50f7f Re-enable disabled Bluetooth presubmit tests on Android
Android S+ changed how they grant Bluetooth permissions to apps. While
the production code was fixed in crrev.com/c/3064219, tests were left
broken. crrev.com/c/5887570 fixed it, so we can re-enable them now.

BUG=40206151
TEST=CQ

Change-Id: I681ceb2356ec90c5377ae18fa923527a0b3169bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5957884
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Commit-Queue: Garfield Tan <xutan@chromium.org>
Reviewed-by: Haiyang Pan <hypan@google.com>
Cr-Commit-Position: refs/heads/main@{#1373504}
2024-10-24 19:28:22 +00:00
f0b58a5e3f Test that the account's prefs are cleared upon the account removal
Fixed: 349856358
Change-Id: I1a07e5fc80b29260457cde8920fec214530bc0f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5961461
Reviewed-by: Boris Sazonov <bsazonov@chromium.org>
Commit-Queue: Mahmoud Rashad <mmrashad@google.com>
Cr-Commit-Position: refs/heads/main@{#1373503}
2024-10-24 19:27:40 +00:00
cf4f989b39 Roll optimization-guide from 90c03fa64a55 to a02e2aa3730e
90c03fa64a..a02e2aa373

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/optimization-guide-chromium
Please CC chrome-intelligence-core@google.com,sophiechang@chromium.org 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: None
Change-Id: I47331336e08e27499b8b9d31c15462b52f5eff1c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962545
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@{#1373502}
2024-10-24 19:25:38 +00:00
a08a1e07f3 Roll Chrome Mac Arm PGO Profile
Roll Chrome Mac Arm PGO profile from chrome-mac-arm-main-1729785550-3c41f4405c22b5d1b44db8706ffe87d9f2ea8164-28c58926ca899f10193ddf8239c9ad8a796a223e.profdata to chrome-mac-arm-main-1729792475-5b44e21d196976bc97aa7f9d1d04b364248468b0-88676c640928fd2dce56a46c1c3adb62ac349697.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
Change-Id: I52fcb6d66d59a125dc1bbf1a609fa15d5f23c502
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962554
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@{#1373501}
2024-10-24 19:25:20 +00:00
9bdee0ca7e Update list_selection_model active_ using set_active()
to allow for observer notifications.

This is a setup before adding an observer for the list_selection_model on set_active. This CL updates helpers to return by value as well to achieve this instead of passing in the pointers and updating the values in the helper.

Bug: 375055901
Change-Id: I6926fbf1baa2fd42ca5143eab7709d495d9fee64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5954392
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Dana Fried <dfried@chromium.org>
Commit-Queue: Shibalik Mohapatra <shibalik@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373500}
2024-10-24 19:23:39 +00:00
79fa002418 Remove unsafe buffers pragma from UkmRecorderImpl
It appears that there is no unsafe buffers usage in this file and the
annotation was either a false positive or the root cause has been
addressed since it was added.

Bug: 40285824
Change-Id: Ib3ef84356d96d986c9a1f858466a926084f9181a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5953276
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Auto-Submit: Jan Keitel <jkeitel@google.com>
Commit-Queue: Alexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373499}
2024-10-24 19:20:22 +00:00
ec9234eea2 Ignore potential --disable-field-trial-config in variations bisect
`VariationsCommandLine::ToString()` could add the `--disable-field-trial-config` flag to the variations command output, which will raise a `ValueError: Wrong format, expected name=value, got disable-field-trial-config` error when bisecting.

Bug: None
Change-Id: Ie741ec12730baeea3ff19edee17e77cfdb58f006
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5960724
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Commit-Queue: Alexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373498}
2024-10-24 19:18:59 +00:00
11dd8ab03f [Lens] Add unary API with HTTP transport feature flag.
Bug: b/369159694
Change-Id: I59c4bd4eb0da53c570332569260fbb3d762faa5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5959252
Reviewed-by: Jason Hu <hujasonx@google.com>
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Commit-Queue: Charles Yang <cmyang@google.com>
Cr-Commit-Position: refs/heads/main@{#1373497}
2024-10-24 19:15:53 +00:00
ae2832200a Make Bidding and Auction Response parser unittests more consistent
Change the Debug Reporting unit tests to use the common matcher
code instead of checking fields separately.

Change-Id: I9ee19ac3aeb6d005a04434e31934c10f7a10c317
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5959448
Reviewed-by: Qingxin Wu <qingxinwu@google.com>
Commit-Queue: Russ Hamilton <behamilton@google.com>
Cr-Commit-Position: refs/heads/main@{#1373496}
2024-10-24 19:15:43 +00:00
3d6829a751 Clean up old Trust&Safety sentiment dependency in privacy_sandbox service
This CL cleans up all haTS implementation related to PrivacySandbox4 settings.

NO_IFTTT=if/change block around a larger section then needed,
thus affecting my code. To be addressed in b:372479795.

Bug: b:369351303

Change-Id: Iaac9c08d2f6abf999d4ac7126a2427e16ba59a8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5908102
Commit-Queue: Aashna Sheth <aashnas@google.com>
Reviewed-by: Martin Šrámek <msramek@chromium.org>
Reviewed-by: Abe Boujane <boujane@google.com>
Reviewed-by: Alvin Lam <alvingo@google.com>
Cr-Commit-Position: refs/heads/main@{#1373495}
2024-10-24 19:11:52 +00:00
3fa65b6d78 Extend MIDI histograms
These histograms are still useful to check MIDI usage as we finalize
the Web MIDI specification.

Also make mjwilson the first owner.

Bug: 374763937
Change-Id: I3297c09d8f024f6aad9b7bb31418f0c5219fdcf3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958173
Commit-Queue: Michael Wilson <mjwilson@chromium.org>
Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373494}
2024-10-24 19:02:34 +00:00
9e5fc08074 [Clank Startup] Ablate Cold & Warm main launches & add Warm Start metric
To ablate both cold & warm main intent launches, the ablation has been added to onResume during a warm start on top of cold start in preInflationStartup.

Startup.Android.Warm.MainIntentTimeToFirstDraw metric has been added to capture TTFD latency during warm main intent launches.

The CL also moves flaky test(s) sessionDid(Not)ContainGoogleSearchPage so it's no longer batched as the test interacts with activity startup & shutdown.

Bug: 334144123
Change-Id: I6d7ab1cac0d9d84992c503c4a3d8911dec2c6946
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5906980
Reviewed-by: Sean Maher <spvw@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Commit-Queue: Nafis Abedin <nafisabedin@google.com>
Reviewed-by: Eric Seckler <eseckler@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373493}
2024-10-24 19:02:20 +00:00
6804277231 Revert "Fix a DCHECK with “will-change: contents” on partial MPC hits."
This reverts commit 468121e39b.

We don't have partial MPC hits anymore, so we don't need to have this
in the StyleAdjuster. The test case remains.

Change-Id: I1badcece2ef5a2a3db8432878774fcdaabcead7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962457
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Steinar H Gunderson <sesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373492}
2024-10-24 19:00:21 +00:00
a5d4d3e5c4 Android: Fix bytecode_processor.py not suggesting preferred_dep
This removes a fast-path from the checker which was causing the wrong
guava dep to be suggested.

Bug: None
Change-Id: I09d31b85da74e83815c75b1e03f3dd41c2d64aa4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5960301
Reviewed-by: Peter Wen <wnwen@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373491}
2024-10-24 18:57:55 +00:00
d0f6b10d68 [Blink] Add failing test for win11-23h2-rel trybots to TestExpectation
Bug: 365127791
Change-Id: I796b388cf2b2e2a9c6513cef8177f9f6cec391cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958929
Reviewed-by: Kuan Huang <kuanhuang@chromium.org>
Commit-Queue: An Sung <ansung@google.com>
Cr-Commit-Position: refs/heads/main@{#1373490}
2024-10-24 18:55:21 +00:00
0b90ce983f Some regrouping in StyleAdjuster.
In particular, all the SVG code is placed in one place, and several
instances of

  if (foo)
    builder.SetFlag();
  if (bar)
    builder.SetFlag();

have been combined.

Change-Id: I9e34a5696157ffd5bcbfcda946e3fc24c1bd87aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962456
Commit-Queue: Steinar H Gunderson <sesse@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373489}
2024-10-24 18:54:07 +00:00
6a957c4e54 Preserve the URL, class, and suggestions for a recently visited page.
This change introduces (conditional) support for additional variants
of the Jump-Start Omnibox feature, preserving the URL, page
classification, and suggestions related to the most recently visited
page before user tabs out of Chrome.

Bug: b:370570081
Change-Id: Ia193ea4cf8f58745e4748cede7a198e5d9a42f3c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962716
Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Tomasz Wiszkowski <ender@google.com>
Cr-Commit-Position: refs/heads/main@{#1373488}
2024-10-24 18:53:03 +00:00
c5841cd328 [PIX] Remove potentially false bottom sheet shown signal
The FPPaymentMethodsMediator updates the model to show the bottom sheet,
and returns true. The model triggers showing the bottom sheet, but still
could fail.

Remove the potentially false bottom sheet shown signal.

In a future change, this would be fixed using a callback.
Implementation doc: http://shortn/_5ZkHFeiXPg

Bug: 375089558, b/375088986
Change-Id: Ib1dd66dfdda4e4a43ceef3294f78bcaa8862de02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5955760
Commit-Queue: Vishwas Uppoor <vishwasuppoor@google.com>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373487}
2024-10-24 18:52:25 +00:00
6f80783e05 [Partitioned Popins] Test RSA in popin iframe
We should ensure this works too since it is a distinct path more akin to
current behavior.

Explainer: https://explainers-by-googlers.github.io/partitioned-popins/
I2P: https://groups.google.com/a/chromium.org/g/blink-dev/c/ApU_zUmpQ2g/

Bug: 340606651
Change-Id: Ia2caaff7c4a4c94964f52b0c1c68522ea9d53863
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962521
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Commit-Queue: Sandor «Alex» Major <sandormajor@google.com>
Reviewed-by: Sandor «Alex» Major <sandormajor@google.com>
Cr-Commit-Position: refs/heads/main@{#1373486}
2024-10-24 18:51:53 +00:00
cc1554be6b [Partitioned Popins] Simplify RSA tests
These are getting out of hand, let's consolidate the read paths in
JavaScript at least.

Explainer: https://explainers-by-googlers.github.io/partitioned-popins/
I2P: https://groups.google.com/a/chromium.org/g/blink-dev/c/ApU_zUmpQ2g/

Bug: 340606651
Change-Id: I43ae4fcd338611c4d0cd918b3fdad6b59098fd22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962496
Reviewed-by: Sandor «Alex» Major <sandormajor@google.com>
Commit-Queue: Sandor «Alex» Major <sandormajor@google.com>
Auto-Submit: Ari Chivukula <arichiv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373485}
2024-10-24 18:48:51 +00:00
57c1ff6255 Remove host status logger for Me2Me
The telemetry API was stubbed out a few years ago but our hosts
keep sending events which are ignored.  This CL removes the Me2Me
impl as it ends up writing errors to the host log for robots which
do not have a Me2Me host OAuth scope.  It2Me logging will be
removed in a separate CL.

Change-Id: I6bc890aad032088cf2c5d17af9a4838cd1227639
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5948624
Auto-Submit: Joe Downing <joedow@chromium.org>
Commit-Queue: Joe Downing <joedow@chromium.org>
Reviewed-by: Gary Kacmarcik <garykac@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373484}
2024-10-24 18:48:28 +00:00
b100cf3175 Collect Chrome Enterprise Cloud Management domain in a crash key
Change-Id: I4412494d0ca608d8af58faa709d9f867a6daa9f7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5923849
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Owen Min <zmin@chromium.org>
Commit-Queue: Joshua Peraza <jperaza@chromium.org>
Reviewed-by: Theresa Sullivan <twellington@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373483}
2024-10-24 18:47:41 +00:00
0110f0ceff Avoid including native_screen_capture_picker_mac.h on other platforms
Headers for macOS-only code should not be included on other platforms.
Add a #error checks in native_screen_capture_picker_mac.h to assert this
to prevent future regressions.

Fix some missing includes along the way. Also use base::OnceClosure
where appropriate.

Bug: 40217123
Change-Id: Ib1eade628ec49dfe622138f8b27a2fe5e375a503
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5953965
Reviewed-by: Mark Foltz <mfoltz@chromium.org>
Reviewed-by: Palak Agarwal <agpalak@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373482}
2024-10-24 18:46:46 +00:00
93cb0245ed Convert Crossbench LoadLine benchmark result to histogram JSON format.
Add support to the `tools/perf/crossbench_result_converter.py` to convert `loadline_probe.csv` to `perf_results.json` with histogram JSON format.

Bug: 371988599
Change-Id: I3442bed85f631f319d599ca3a5f67b3409ff7476
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5960202
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Farid (Mojtaba) Faridzad <faridzad@google.com>
Cr-Commit-Position: refs/heads/main@{#1373481}
2024-10-24 18:46:29 +00:00
f3ad568add Fix alignment for large font size in price tracking promo
The price tracking promotion is a new card for the magic stack. For
larger text sizes the 'Allow ...' button is not aligned with the
other labels. This CL fixes that.

Video: https://drive.google.com/file/d/1jPnYqLe1L9FHWHLw8GvG-PuYFQS59vmr/view?usp=sharing

Bug: 371615946
Change-Id: I919995e8c9eec17a5392cc7d76cc8bb7d0f697ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958117
Reviewed-by: Chris Lu <thegreenfrog@chromium.org>
Commit-Queue: David Maunder <davidjm@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1373480}
2024-10-24 18:45:37 +00:00
235cedc586 Increase tolerance for Android audio tests.
Bots seem to take too long to run the test, so just ensure that the
time between callbacks is less than two intervals.

Bug: 371108238
Change-Id: I212fcd5b14600be13b009398adecf477386a89e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5963056
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Thomas Guilbert <tguilbert@chromium.org>
Commit-Queue: Thomas Guilbert <tguilbert@chromium.org>
Auto-Submit: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373479}
2024-10-24 18:45:19 +00:00
8433443a71 [infra] Explain why Comparison builders cannot be migrated
Bug: 40258588
Change-Id: If69ed8b60e170e5b5a5c717c3e58573f44461123
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5960801
Auto-Submit: Wanda Mora <morawand@google.com>
Commit-Queue: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Garrett Beaty <gbeaty@google.com>
Commit-Queue: Wanda Mora <morawand@google.com>
Cr-Commit-Position: refs/heads/main@{#1373478}
2024-10-24 18:44:19 +00:00
494baee60c Roll clank/internal/apps from b523429d1d4e to 319741a3b647 (1 revision)
b523429d1d..319741a3b6

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/clank-apps-chromium-autoroll
Please CC agrieve@google.com,chrome-brapp-engprod@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: None
Tbr: agrieve@google.com
No-Try: true
Change-Id: I9cc151ff8fc7fd8f3f75fe08f49f094545c03f79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5963099
Bot-Commit: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Commit-Queue: chromium-internal-autoroll <chromium-internal-autoroll@skia-corp.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1373477}
2024-10-24 18:44:10 +00:00
bf1ced3510 Remove a workaround for the old headless
As Chrome does no longer contain chrome-headless-shell code we are
removing workarounds which were activated in presence of the "headless"
flag in the browser command line arguments.

Bug: 42323387
Change-Id: Ieb2cc8224a190b5839ff02bedc1a840cd0f220aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5961602
Reviewed-by: Alex N. Jose <alexnj@chromium.org>
Commit-Queue: Vladimir Nechaev <nechaev@chromium.org>
Commit-Queue: Alex N. Jose <alexnj@chromium.org>
Auto-Submit: Vladimir Nechaev <nechaev@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373476}
2024-10-24 18:42:01 +00:00
edca0fb8fc boca: Add new navigation type.
Add new navigatype that support same domain unlimited and 1 level deep
for other navigation.

Bug: b:375036317
Test: existing unit test
Change-Id: I56043d95d9b1cee2309ca4d760b2d5d2fe9f13f4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5955391
Reviewed-by: Benjamin Zielinski <bzielinski@google.com>
Reviewed-by: Elly FJ <ellyjones@chromium.org>
Commit-Queue: April Zhou <aprilzhou@google.com>
Cr-Commit-Position: refs/heads/main@{#1373475}
2024-10-24 18:40:58 +00:00
69d05f7d37 [MappableSI] Convert V4L2CaptureDelegateGpuHelper to use MappableSI.
Convert V4L2CaptureDelegateGpuHelper to use MappableSI instead of
GpuMemoryBuffer.

Bug: 40264379
Change-Id: Idfd242fe6366497d510d47ac12954d259a58926e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5957238
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Commit-Queue: vikas soni <vikassoni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373474}
2024-10-24 18:40:10 +00:00
fe74ac2b87 Rename fenced-frame-unpartitioned-data permissions policy.
The new name, fenced-unpartitioned-storage-read, is closer to the one that will be used in external documentation to describe the feature we're gating.

Change-Id: Id77cc71ae3681485701e3c62e19efe6108d20dfa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962397
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Yao Xiao <yaoxia@chromium.org>
Reviewed-by: Ken Buchanan <kenrb@chromium.org>
Commit-Queue: Andrew Verge <averge@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373473}
2024-10-24 18:39:21 +00:00
d962ff0c6d [components] CreateOutputSurface fail on Cast Android is not fatal.
The platform-specific assertion that this was originally added
for was intended for chromeos and cast devices, which both used
ozone. However, cast devices running on Android use the same
stack as clank, which considers these failures recoverable.

It was only because of a point of confusion in migrating the old
IS_CHROMECAST flags to IS_CASTOS and IS_CAST_ANDROID that Android
cast receivers were added to this list.

Bug: 374700681
Test: repro steps in bug
Change-Id: I205c7d6c5a1031755a4d182cdb110f02dc8dc4ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958178
Commit-Queue: Simeon Anfinrud <sanfin@chromium.org>
Reviewed-by: Peter McNeeley <petermcneeley@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373472}
2024-10-24 18:38:12 +00:00
c0cf3c23ca [Blink] Minor cleanup in html_canvas_element.cc
Drive-by cleanup.

Change-Id: Ibda6b00e6e85cc114331848206352490d90231dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5960280
Reviewed-by: Jean-Philippe Gravel <jpgravel@chromium.org>
Commit-Queue: Colin Blundell <blundell@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373471}
2024-10-24 18:36:27 +00:00
64d157987a [infra] Migrate tests for chromium.webrtc.fyi to starlark.
Bug: 40258588
Change-Id: Id9f3d2c3fc9b94cb3820fe14cfa8064f13947aba
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5957789
Commit-Queue: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Wanda Mora <morawand@google.com>
Cr-Commit-Position: refs/heads/main@{#1373470}
2024-10-24 18:35:51 +00:00
8686d2fff3 [infra] Migrate tests for chromium.webrtc to starlark.
Bug: 40258588
Change-Id: I3c3b68fa58ff243f9b4387342fc9d6529c4e5ae2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5959187
Commit-Queue: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Wanda Mora <morawand@google.com>
Cr-Commit-Position: refs/heads/main@{#1373469}
2024-10-24 18:34:53 +00:00
39578995c5 [infra] Migrate tests for chromium.updater to starlark.
Bug: 40258588
Change-Id: I6cd0a5e393844a1045a2ffcc3d0e329bc02d73cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958409
Commit-Queue: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Wanda Mora <morawand@google.com>
Cr-Commit-Position: refs/heads/main@{#1373468}
2024-10-24 18:34:41 +00:00
62a63ab0b2 Move InsetObserver initialization to activity
Currently, the InsetObserver is managed by the WindowAndroid, which is only created by certain activities. With edge-to-edge everywhere, all activities will need access to the InsetObserver to properly observe the window insets, so this change passes the InsetObserver to ChromeBaseAppCompatActivity. The InsetObserver should be passed to any WindowAndroid that needs access to it through the WindowAndroid constructor.

Bug: 374641218
Change-Id: Id42a26f7c9848b50fc5fde49074583719e645413
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5945405
Reviewed-by: Tomasz Wiszkowski <ender@google.com>
Reviewed-by: Vigen Issahhanjan <vigeni@google.com>
Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Charles Hager <clhager@google.com>
Reviewed-by: Theresa Sullivan <twellington@chromium.org>
Reviewed-by: Richard (Torne) Coles <torne@chromium.org>
Reviewed-by: Shakti Sahu <shaktisahu@chromium.org>
Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
Reviewed-by: Antonio Rivera <antoniori@google.com>
Cr-Commit-Position: refs/heads/main@{#1373467}
2024-10-24 18:31:01 +00:00
bb246fedf7 Determine "always allowed" cookies non-third-party
The `is_third_party_request` metadata is only used externally in the
CookieSettings to determine whether a 3PC related cookie access should result in an issue in DevTools.

Bug: 371586244
Change-Id: If2a3135b3e8800e3d4e89ce61a37adb0ec51ed02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5920217
Reviewed-by: Dylan Cutler <dylancutler@google.com>
Commit-Queue: Shuran Huang <shuuran@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373466}
2024-10-24 18:28:30 +00:00
4996dea0fc Fix NullPointerException in DeviceInput.
This CL fixes a NullPointerException in DeviceInput by ignoring listener
events if the associated input device does not exist. I suspect that
this crash exists because listener events are handled on the UI thread but input device state can be updated on a background thread.

Bug: 374737035
Change-Id: Icf398c290835de196cc3b7cde758e5e117158a4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5958334
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Commit-Queue: David Black <dmblack@google.com>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1373465}
2024-10-24 18:27:54 +00:00