0
Commit Graph

1377154 Commits

Author SHA1 Message Date
e65d317468 Update Chrome Security docs to reflect the new issue tracker behavior
Change-Id: Iaeb797d925b18a1bda8c815420d0987f090ea1bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262658
Reviewed-by: Alex Gough <ajgo@chromium.org>
Commit-Queue: Grace Park <pgrace@chromium.org>
Reviewed-by: Brendon Tiszka <tiszka@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255863}
2024-02-03 01:20:50 +00:00
6c1b5cfadd Roll src-internal from 57de8e5ed207 to e07de57ec72b (1 revision)
57de8e5ed2..e07de57ec7

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://skia-autoroll.corp.goog/r/src-internal-chromium-autoroll
Please CC chrome-browser-infra-team,dpranke@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: chromium:1490427
Tbr: dpranke@google.com
Change-Id: Ic8a0639a08fe2ec822ebae8b5f074f9178525bf8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263669
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@{#1255862}
2024-02-03 01:19:18 +00:00
043e85aa48 Remove the ResolveBareFragmentWithColonOnNonHierarchical url feature
This behavior has been shipping since M114 without any fallout reported.
Remove it.

Bug: 1220361
Change-Id: Ie44e823d09295ce6820dfc41e3036095cbb628ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5259304
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255861}
2024-02-03 01:19:07 +00:00
3775adf33a shortcuts: Unlock Suspend and Lock device actions
These actions can be trivially unlocked and are common
user requests to be customizable.

Bug: b/216049298
Change-Id: Ib7a3d419cfcb01ccbb4704e84f084f1a3206f20e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5254551
Commit-Queue: Jimmy Gong <jimmyxgong@chromium.org>
Reviewed-by: David Padlipsky <dpad@google.com>
Cr-Commit-Position: refs/heads/main@{#1255860}
2024-02-03 01:15:30 +00:00
82bfa12d2a Shortened OnDeviceModelExecutionValidationStartupDelay to 5 seconds.
Since the model execution config loading can now be set to higher
priority, less delay is needed.

Bug: b:313716842,b:303679015
Change-Id: Ic97bcb4a6e0c5895c3bf87a3e8e5c81c5887f406
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262497
Reviewed-by: Raj T <rajendrant@chromium.org>
Auto-Submit: Marco Georgaklis <mgeorgaklis@google.com>
Commit-Queue: Raj T <rajendrant@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255859}
2024-02-03 01:12:38 +00:00
01f76d5441 Roll src/third_party/libvpx/source/libvpx/ 433577ae3..c35f3e9e3 (14 commits)
433577ae31..c35f3e9e35

$ git log 433577ae3..c35f3e9e3 --date=short --no-merges --format='%ad %ae %s'
2024-01-31 jonathan.wright Cosmetic: Refactor Arm Neon i8mm convolution functions
2024-01-30 jonathan.wright Refactor Arm Neon DotProd convolution functions
2024-01-31 jianj Rewrite ext RC test
2024-01-31 jianj Ext RC: remove gop_info parameter
2024-01-31 jianj vp9: Set VPX_FRAME_IS_INVISIBLE for no show frame
2024-01-30 jianj Allow external RC to control key frame
2024-01-30 jianj Move vp9_estimate_qp_gop to vp9_tpl_model.c
2024-01-30 jianj Fix gf group index used in TPL pass for WebM RC
2024-01-29 jzern vp9_scale_and_extend_frame_ssse3: fix uv width/height
2024-01-29 jzern vp9_encoder.c: make vp9_svc_twostage_scale static
2024-01-29 jzern vp9_scale_references: condense hbd #if
2024-01-04 jonathan.wright Simplify Armv8.4 DotProd correction constant computation
2024-01-28 jonathan.wright Move Neon dotprod and i8mm convolution kernels into .c files
2024-01-29 jonathan.wright Merge Arm Neon dotprod and i8mm convolution files

Created with:
  roll-dep src/third_party/libvpx/source/libvpx
R=eugene@chromium.org,jzern@google.com

Bug: b:308446709
Change-Id: Ib06bc99ee88611a390c67a307da95fd5318c4cb4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263186
Reviewed-by: Eugene Zemtsov <eugene@chromium.org>
Commit-Queue: Wan-Teh Chang <wtc@google.com>
Cr-Commit-Position: refs/heads/main@{#1255858}
2024-02-03 01:06:42 +00:00
ecd9b4e5cb Roll src/third_party/libavif/src/ 6cd507ae8..3ead1f3e9 (8 commits)
6cd507ae8c..3ead1f3e99

$ git log 6cd507ae8..3ead1f3e9 --date=short --no-merges --format='%ad %ae %s'
2024-02-02 yguyon Remove duplicate bug in CHANGELOG.md ()
2024-02-02 yguyon Reduce imageSizeLimit for SharpYUV in fuzzreadimg ()
2024-02-02 yguyon Add link to wiki in README.md ()
2024-02-01 vrabaud Bump fuzztest library. ()
2024-02-01 vrabaud Remove forced address sanitizer flags. ()
2024-02-01 yguyon Add bug numbers in CHANGELOG.md ()
2024-02-01 49699333+dependabot[bot] Bump the github-actions group with 4 updates ()
2024-01-31 yguyon Add missing CHANGELOG.md entries ()

Created with:
  roll-dep src/third_party/libavif/src
R=dalecurtis@chromium.org,jzern@google.com

Change-Id: I91ae279e92408551e2042c0d0a6eee9ec650d1dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263253
Commit-Queue: Wan-Teh Chang <wtc@google.com>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255857}
2024-02-03 01:06:29 +00:00
12383ad5df Make model execution features support immediate enable/disable
Add feature state change observer for notifying consumers, and deprecate the enabling on browser restart notifications.

Removes the restart toast from settings AI page, since its no longer needed.

Also adds enterprise policy pref observer for model execution controller to observer immediate changes.

Demo of settings change immediately affecting feature state:
http://go/scrcast/NDYzMTcwMDEzMzkwNDM4NHwyMzAyNDZlYS1lNA

Bug: b/320851152,  b/321073908, b/323569816
Change-Id: I7c4c4fe3bb68527df8e22247dbfc3aceb5b020e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5247445
Commit-Queue: Raj T <rajendrant@chromium.org>
Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org>
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: Carlos Knippschild <carlosk@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255856}
2024-02-03 00:55:18 +00:00
acabc70d8c desk_profiles: Fix reverse tabbing in the desk bar
This CL fixes reverse tabbing in the desk bar. This would have not been
an issue to begin with if it hadn't been for the trickery that is done
with hiding the desk action buttons as focus shifts. This CL extends the
hack that already involved the desk preview view to now also include the
profile button.

Also made changes to the test suite so that the DeskBarTest suite runs
with desk profiles both disabled and enabled.

BUG=b:319723846

Change-Id: I462f58123f2a3dbb5babc2ac02c9135c4fb5831b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263242
Commit-Queue: Daniel Andersson <dandersson@chromium.org>
Reviewed-by: Yongshun Liu <yongshun@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255855}
2024-02-03 00:52:41 +00:00
2f389a545e Defer audio focus requests until audible on android
To prevent chrome from stopping background playback due to
silent media, this change delays requesting audio focus
on android until the WebContents is audible.

Change-Id: I1de3617723092ccc7cfe0336866d5a5b171f6431
Bug: 1210462
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5258787
Reviewed-by: Tommy Steimel <steimel@chromium.org>
Reviewed-by: Thomas Guilbert <tguilbert@chromium.org>
Commit-Queue: Frank Liberato <liberato@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255854}
2024-02-03 00:45:25 +00:00
9219c23865 [buganizer] Migrate DIR_METADATA for printing/ and sandbox/
Migrate all metadata files for printing/ and sandbox/ and mixins
used by metadata files under printing/ and sandbox/.

Verify components with http://b/components/{id} or at
go/chrome-on-buganizer-prod-components.

Bug: chromium:1518875
Change-Id: I9e9fa50af7fef4a5270c5ddb9584e72116975303
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263505
Reviewed-by: Will Harris <wfh@chromium.org>
Auto-Submit: Jeff Yoon <jeffyoon@google.com>
Commit-Queue: Jeff Yoon <jeffyoon@google.com>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255853}
2024-02-03 00:40:34 +00:00
373f777205 security-related merge doc updates to reflect issue tracker migration
Change-Id: I8dfb0bff95891caefd9db93685dd378562bf68e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262562
Reviewed-by: Adrian Taylor <adetaylor@chromium.org>
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Amy Ressler <amyressler@google.com>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255852}
2024-02-03 00:39:47 +00:00
fe80878471 gpu: Always enable OOP-C on CrOS with Vulkan
On some ChromeOS devices, using Vulkan without OOP-C results in
artifacts during video encode. To remedy this, we unconditionally
enable OOP-C on CrOS when Vulkan is enabled.

Bug: b:318721705
Change-Id: I1196c83ccd973373aa176e49e58d4431ac31e7fe
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5254556
Reviewed-by: Vasiliy Telezhnikov <vasilyt@chromium.org>
Commit-Queue: Brian Ho <hob@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255851}
2024-02-03 00:39:25 +00:00
2502aae007 [CrOS Cellular] Migrate traffic_counters_test.js to typescript
Bug: b/314833994
Change-Id: I426a3b50ca6c700d2ac3897b5be9af1e81697fa2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260604
Reviewed-by: Michael Checo <michaelcheco@google.com>
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Nikhil Nayunigari <nikhilcn@google.com>
Cr-Commit-Position: refs/heads/main@{#1255850}
2024-02-03 00:38:34 +00:00
822f3bf3e8 Roll clank/internal/apps from b2c57e5766b5 to 2b75079882be (1 revision)
b2c57e5766..2b75079882

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 chrome-brapp-engprod@google.com,lazzzis@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: lazzzis@google.com
No-Try: true
Change-Id: Ia6dd146170acf3cf3c39b82338f8a8b71286f510
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263087
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@{#1255849}
2024-02-03 00:38:14 +00:00
384bb790df [IntersectionObserver] Fix margin treatment for cross-origin targets
The spec states that rootMargin and scrollMargin must be ignored for
any implicit-root observation that crosses origin boundaries.
Previously, there was no explicit mechanism in the code for enforcing
that; however, we still got the correct result as long as the
cross-origin iframe was process-isolated, because rootMargin is not
applied to LocalFrame::RemoteViewportIntersection() -- there is a
comment in the code to this effect.

However, if the cross-origin iframe was *not* process-isolated, then
the root margin would be incorrectly honored. Furthermore, the above
won't work correctly for scrollMargin.

This CL explicitly disables both rootMargin and scrollMargin for a
cross-site observation.

Change-Id: I030c431d67f47ed65872867851a079f2bbd95736
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262942
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Stefan Zager <szager@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255848}
2024-02-03 00:33:56 +00:00
3683d9c26c Use default move assignment operator for ProxyChain
Now that the ProxyChain::ForIpProtection method just creates
a new ProxyChain instead of allowing for self-assignment, we
can use the default move assignment operator again.

Bug: 1491092
Change-Id: If9526c069176f8465b3b74a6b2d9062e90db06d7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5254840
Commit-Queue: Andrew Williams <awillia@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255847}
2024-02-03 00:31:39 +00:00
bc7b9a4bdc [VCN] Add card info chip to the unmask cvc prompt
Mock: https://docs.google.com/presentation/d/1LZHzYcuTaVMZ7h3H71k3NZ2hB1VZMbuPbaBaGAqlCug/edit?pli=1&resourcekey=0-MBuDkOkUtHPUtAcPN9VPKg#slide=id.g219780aa2d0_0_1

Implementation: https://screenshot.googleplex.com/BevdsXaVnAYYyFM

Uses the TableViewDetailIconItem. The main text will always be the card
product/network name, while the detail text will be the expiration date
of the card if it is an actual card, or "Virtual card" if it is a
virtual card. The icon will use card art image icon first then the
static network icon.

Bug: b/303715882
Change-Id: I070322cf19cc4f5fbdd788961908158089319277
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5255821
Commit-Queue: Siyu An <siyua@chromium.org>
Reviewed-by: Tommy Martino <tmartino@chromium.org>
Reviewed-by: Slobodan Pejic <slobodan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255846}
2024-02-03 00:29:38 +00:00
a363830a97 Revert "[UNO] Enable DiceBrowserTest"
This reverts commit d9012f0cf5.

Reason for revert:
LUCI Bisection has identified this change as the cause of a test failure. See the analysis: https://ci.chromium.org/ui/p/chromium/bisection/test-analysis/b/5722123702108160

Sample build with failed test: https://ci.chromium.org/b/8757180685320842977
Affected test(s):
[ninja://chrome/test:browser_tests/DiceBrowserTest.EnableSyncAfterToken](https://ci.chromium.org/ui/test/chromium/ninja:%2F%2Fchrome%2Ftest:browser_tests%2FDiceBrowserTest.EnableSyncAfterToken?q=VHash%3A28b8316ef11973ff)

If this is a false positive, please report it at http://b.corp.google.com/createIssue?component=1199205&description=Analysis%3A+https%3A%2F%2Fci.chromium.org%2Fui%2Fp%2Fchromium%2Fbisection%2Ftest-analysis%2Fb%2F5722123702108160&format=PLAIN&priority=P3&title=Wrongly+blamed+https%3A%2F%2Fchromium-review.googlesource.com%2Fc%2Fchromium%2Fsrc%2F%2B%2F5237231&type=BUG

Original change's description:
> [UNO] Enable DiceBrowserTest
>
> Bug: b:320650075
> Change-Id: Ia8eea1247c5aa5647ef29eb7b9f41b045ba9ba1e
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5237231
> Commit-Queue: Ryan Sultanem <rsult@google.com>
> Reviewed-by: Gabriel Oliveira <gabolvr@google.com>
> Reviewed-by: David Roger <droger@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1255635}
>

Bug: b:320650075
Change-Id: I13271656f6987a2432103cca654c40346d54cb7c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262993
Reviewed-by: Dirk Pranke <dpranke@google.com>
Owners-Override: Dirk Pranke <dpranke@google.com>
Commit-Queue: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#1255845}
2024-02-03 00:26:50 +00:00
6417198592 [omnibox] Adds a histogram to record different types of remote requests
Also cleans up enum names for provider-specific histograms around
remote requests.

OBSOLETE_HISTOGRAMS=Replaces Omnibox.SuggestRequests with Omnibox.SearchSuggest.Requests

Bug: 1516795
Change-Id: I560ac5de3dd608067a8af78dde712648a11c50c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5254505
Commit-Queue: Moe Ahmadi <mahmadi@chromium.org>
Reviewed-by: Sophie Chang <sophiechang@chromium.org>
Reviewed-by: Tomasz Wiszkowski <ender@google.com>
Cr-Commit-Position: refs/heads/main@{#1255844}
2024-02-03 00:24:41 +00:00
54d9d79f0b Disable DCHECK in browser_data_filter_builder_impl.cc
Per the linked bug other people have hit this DCHECK, and I'm
currently consistently hitting this DCHECK from simply trying to
navigate. We should not have DCHECKs in the code that aren't
actually correct.

Bug: 1420402
Change-Id: I6225826c330226c232ddd3c452a12014b82348df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263008
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255843}
2024-02-03 00:21:51 +00:00
9542295b7d LayoutManagerBase should monitor "ignored by layout" property changes.
Otherwise, neither it nor the view hierarchy hosting it will get
invalidated correctly.

Bug: 1267319
Change-Id: I2ec63d91ad820b3e42f29732552df763a632048a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260027
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Elaine Chien <elainechien@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255842}
2024-02-03 00:16:43 +00:00
9125b63d71 focus-mode: Add metrics on a session start (2)
This CL will add the histogram to record whether there is a selected
task when a new session starts.

Bug: b/317390832
Test: Unittests
Change-Id: Iccd6eeed8180332beccd6a14b2afa353956e89ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5254118
Reviewed-by: Sean Kau <skau@chromium.org>
Reviewed-by: Ben Becker <benbecker@chromium.org>
Commit-Queue: Hongyu Long <hongyulong@chromium.org>
Reviewed-by: Richard Chui <richui@chromium.org>
Reviewed-by: Michele Fan <michelefan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255841}
2024-02-03 00:12:50 +00:00
d35a9ddf0f Add histogram to record activity creation time delta when indices
mismatch in TabWindowManager

This is a follow-up to crrev.com/c/5230244.

1. Record a times histogram in
ChromeTabbedActivity#handleMismatchedIndices to track the difference in
creation timestamps of the two activities that are attempting to use the
same tab model index.
2. Make the time difference threshold to determine if the tab persistent
store's state has to be saved configurable via a fieldtrial param.

Bug: 1520923
Change-Id: Ice8eb0d57d648f2af8be9db0b2caea373d7af585
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262747
Commit-Queue: Aishwarya Rajesh <aishwaryarj@google.com>
Reviewed-by: Theresa Sullivan <twellington@chromium.org>
Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255840}
2024-02-03 00:11:10 +00:00
d51be4fa73 [live-preview] Adjust width used for choosing preferred format
Using double the view width when choosing preferred format provides more information to the interpolation algorithm, so scaled images appear sharper.

Change-Id: Iaf266233e9e70175dc06eaa48c8de614248e3166
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260829
Reviewed-by: Bryant Chandler <bryantchandler@chromium.org>
Commit-Queue: Ahmed Moussa <ahmedmoussa@google.com>
Cr-Commit-Position: refs/heads/main@{#1255839}
2024-02-03 00:10:25 +00:00
23aafbc41d Roll Catapult from 376a17fbf7fd to ab0f0c13a6d3 (1 revision)
https://chromium.googlesource.com/catapult.git/+log/376a17fbf7fd..ab0f0c13a6d3

2024-02-02 zijiehe@google.com [Fuchsia] Really use f-string and apply fix

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/catapult-autoroll
Please CC chrome-speed-operations@google.com,dberris@chromium.org,eduardoyap@google.com,jbudorick@chromium.org,johnchen@chromium.org,sullivan@chromium.org,wenbinzhang@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

Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Bug: chromium:1490427
Tbr: eduardoyap@google.com
Change-Id: Idcc861d3c511a26d131244414a15154ee14f7114
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263279
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@{#1255838}
2024-02-03 00:09:25 +00:00
fd2f49040b Import wpt@64b75a906f010f05c58a9941c75d3719079130a0
Using wpt-import in Chromium 0de0ad0ff7.
With Chromium commits locally applied on WPT:
8017da1289 "Add WPTs for race-network-and-fetch-handler option"
c7dac09bd9 "Event Timing reports EventTarget for more pointer events"
3e9211d4b8 "Remove custom-elements/state/idlharness.window.js"
4226d68d16 "Fix some crashes in StylableSelect HTML parser"



Note to sheriffs: 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:
mstensho@chromium.org:
  external/wpt/css/printing

NOAUTOREVERT=true

No-Export: true
Validate-Test-Flakiness: skip
Cq-Include-Trybots: luci.chromium.try:linux-blink-rel
Change-Id: Ie3c68c76e8f05d0de5e08ed6e04b60c1d1b318a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262803
Commit-Queue: Jonathan Lee <jonathanjlee@google.com>
Auto-Submit: WPT Autoroller <wpt-autoroller@chops-service-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Lee <jonathanjlee@google.com>
Cr-Commit-Position: refs/heads/main@{#1255837}
2024-02-03 00:09:17 +00:00
57876f66c6 Add MP4 mimetype to the existing MediaRecorder web tests.
The change adds MP4 mime type to the relevant tests
on the MediaRecorder tests where the test reached to the
muxer level.

There is a bug that block the change of 'PMediaRecorder-peerconnection.https.html', which will be handled with
bug fix of 1523375.

Bug: 1072056
Change-Id: Ie3c2c306bb454e1eb8914047137c6a5844bcdfdf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5250746
Commit-Queue: Sunggook Chue <sunggch@microsoft.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255836}
2024-02-03 00:05:07 +00:00
6c811e39c0 [DTC] Show incognito status for tablet toolbar
Tentative preview (spec TBD with UX): https://hsv.googleplex.com/5868393396699136
Benchmark for phones: https://hsv.googleplex.com/5388786881003520

Bug: 1523701
Change-Id: I2aa07e3a59ba6d1dcac41483356e7bead22bf7b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5261003
Commit-Queue: Wenyu Fu <wenyufu@chromium.org>
Reviewed-by: Theresa Sullivan <twellington@chromium.org>
Reviewed-by: Aishwarya Rajesh <aishwaryarj@google.com>
Cr-Commit-Position: refs/heads/main@{#1255835}
2024-02-03 00:04:40 +00:00
f6504f4305 Preserve opened layer content across canvas flushes
When the canvas has to be presented while layers are opened, we cannot
present the layer content, but we can present any painting that happened
before the top most layer was opened. To do so, the recording has to be
split into two parts: a main recording and a side recording. The side
recording holds the content of all nested layers in one single
recording. When the top most layer is closed, the content of the side
recording is written to the main recording.

Bug: 1484741
Change-Id: Id32412819c0395edd501243b2ccead30ebc0b674
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5113500
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255834}
2024-02-03 00:03:47 +00:00
5dac786f49 Split the 2D Canvas recording to support non-flushable layers
This CL splits the 2D Canvas recording into a main recording and a
side recording. The next CL (https://crrev.com/c/5113500) will update
the beginLayer/endLayer API to record layer content into that side
recording. Only the main recording can be flushed. The side recording
is preserved and can be flushed when the layer is later closed. The side
recording will store the content of all nested layers in one single
recording. When the last layer will be closed, that side recording will
be inserted into the main recording, making it rasterizable in the next
flush.

Bug: 1484741
Change-Id: I073473cdc565b35797ba795e5acd134f1f615581
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5258875
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Commit-Queue: Jean-Philippe Gravel <jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255833}
2024-02-03 00:03:32 +00:00
6e53f176a3 [buganizer] Migrate DIR_METADATA for components/autofill*
Migrate all metadata files for components/autofill* and mixins
used by metadata files under components/autofill*.

Verify components with http://b/components/{id} or at
go/chrome-on-buganizer-prod-components.

Bug: chromium:1518875
Change-Id: Ie7d54d71c4a702b7528ea610d780f91338d6aaef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5259791
Reviewed-by: Stephen McGruer <smcgruer@chromium.org>
Reviewed-by: Siyu An <siyua@chromium.org>
Commit-Queue: Jeff Yoon <jeffyoon@google.com>
Cr-Commit-Position: refs/heads/main@{#1255832}
2024-02-03 00:00:08 +00:00
ac8b79f872 desk_profiles: Add context menu support to desk switch buttons
This adds context menu support to desk switch buttons. It also makes
sure the background is updated correctly.

Bug: b/323419457
Test: DeskButtonTest.(DeskButtonContextMenu|DeskSwitchButtonContextMenu)
Change-Id: I3f8837f1057942fe3c5ce97cbc2de646b227d859
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260609
Commit-Queue: Yongshun Liu <yongshun@chromium.org>
Reviewed-by: Daniel Andersson <dandersson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255831}
2024-02-02 23:56:17 +00:00
63b3256b66 snap-group: Enable kFasterSplitScreenSetup by default
Fixed: b/323435583
Change-Id: Iec758d706f35e9e090de4a8d255c17468764dda4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263225
Reviewed-by: Xiaoqian Dai <xdai@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Commit-Queue: Michele Fan <michelefan@chromium.org>
Reviewed-by: Sophie Wen <sophiewen@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255830}
2024-02-02 23:55:08 +00:00
f9a2aedd5e [automation] Remove unused permission matches from manifest
As part of the cleanup now that the automation API is fully private
(go/chrome-automation-partial-deprecation), remove a manifest
permission that is not used.

The permission will be converted to a single boolean in a follow-up
change.

AX-Relnotes: n/a.
Bug: b/265481580
Test: All automation tests
Change-Id: I04573735cf76172990fd6b6d9281d5620b5eb977
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5226180
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Commit-Queue: Devlin Cronin <rdevlin.cronin@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Auto-Submit: Anastasia Helfinstein <anastasi@google.com>
Cr-Commit-Position: refs/heads/main@{#1255829}
2024-02-02 23:46:43 +00:00
80e18907a2 Add run_pre_tests flag to android test runner and gtest_test_instance.
Once the flag: --gtest_also_run_pre_tests is passed in, the test
runner should be able to parse it.

Bug: 1257820
Change-Id: I5d5838f1afba82503f991b0d22a7e8054db17550
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260197
Reviewed-by: Haiyang Pan <hypan@google.com>
Commit-Queue: James Shen <zhiyuans@google.com>
Cr-Commit-Position: refs/heads/main@{#1255828}
2024-02-02 23:38:49 +00:00
ad65afe616 [dPWA] Move OS integration suppress to class instead of callback chain
Keeping the suppression object in the callback chain means that it could
be destructed after the test is fully destructed, as there is no reason
the test waits for it (profile shutdown isn't a thing for testing
profiles).

This should reduce flakiness of tests that occur afterwards having it
accidentally reset to 'true' during the test.

Secondly, this change just makes it a refcount instead of an AutoReset,
which means that overlapping lifetimes no long matter anyways.

Bug: 1519254, b/323359304
Change-Id: Icc2a8970e188a5ca4a2c897f82a5adc34970dd73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260751
Auto-Submit: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Reviewed-by: Dibyajyoti Pal <dibyapal@chromium.org>
Commit-Queue: Dibyajyoti Pal <dibyapal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255827}
2024-02-02 23:38:27 +00:00
70608c6d5c Use base::ProtectedMemory to harden MojoJS enablement
This change uses base::ProtectedMemory, which was restored in
https://crrev.com/c/5161001 to harden MojoJS enablement against data-
only attacks.

The change adds a new static member to blink::ContextFeatureSettings
that is a base::ProtectedMemory<bool>. A method to set this value to
true is added, and is called in RenderFrameImpl in all code paths that
enable MojoJS for a RenderFrame.

Finally, the isMojoJSEnabled method of blink::ContextFeatureSettings,
is augmented to CHECK that the new base::ProtectedMemory<bool>
value is true if enable_mojo_js_ is true.

The result is that if a data-only attack is used to directly enable
MojoJS outside of the method calls, the CHECK will fail and crash the
process.

Tests to verify that all the normal code paths continue to properly
enable MojoJS, as well as tests that verify that tampering with the
vulnerable properties results in a crash have been added.

Bug: 976506
Change-Id: If4f8f856edab0e60ac7e48ad65ac759aa24b2ebc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5218835
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Jeffrey Gour <jegour@microsoft.com>
Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255826}
2024-02-02 23:35:27 +00:00
a9d373f7c6 CrOS Settings: Extract detailed build info subpage browser tests
Creates a dedicated browser test file for element. Also converts the
test code to TS.

Bug: b:270728282
Test: browser_tests --gtest_filter="OSSettingsOsAboutPage*"
Change-Id: I4e048ca59271723746c9cefabc4a9c5ede4ac9c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5259927
Reviewed-by: Nikki Moteva <moteva@google.com>
Commit-Queue: Wes Okuhara <wesokuhara@google.com>
Cr-Commit-Position: refs/heads/main@{#1255825}
2024-02-02 23:35:13 +00:00
f78eea8fc7 Revert "Remove sync suppression logic while local UPM migration is pending"
This reverts commit e090569871.

Reason for revert: two DICE tests have become flaky on Mac10.13 Tests and other builders. I'm suspecting this CL is the culprit. See crbug.com/1524542.

Original change's description:
> Remove sync suppression logic while local UPM migration is pending
>
> Behavior changes are behind flag.
> Partial revert of crrev.com/c/5088712. The suppression logic will
> have to be implemented differently, remove for now. After this CL it is
> possible to enable password sync while the migration is pending, but in
> *transport* mode, without any upload of existing data.
> This setup of overriding the SyncMode to kTransportOnly in the
> controller can potentially be reused on Desktop in the future, if we
> decide to always run passwords in transport mode ahead of fully
> deprecating sync-the-feature. So gate it behind a new
> kEnablePasswordsAccountStorageForSyncingUsers toggle. This toggle
> will also be consumed by IsOptedInForAccountStorage() in future CLs.
>
> Unrelated to that, also add a comment next to the usage of the
> corresponding flag for non-syncing users.
>
> Bug: 1509058
> Change-Id: I70fe3497e46bb0f03611fa96844bc71eb6f3a300
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262157
> Auto-Submit: Victor Vianna <victorvianna@google.com>
> Commit-Queue: Victor Vianna <victorvianna@google.com>
> Commit-Queue: Vasilii Sukhanov <vasilii@chromium.org>
> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1255656}

Bug: 1509058
Change-Id: I28b20db51afe1e78a7a4c7fd1f27c7e687ffef95
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263066
Commit-Queue: Dirk Pranke <dpranke@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/main@{#1255824}
2024-02-02 23:30:25 +00:00
370f1d9764 CrOS Settings: Extract edit hostname dialog browser test
Creates a dedicated browser test file for element. Also converts the
test code to TS and moves the TestDeviceNameBrowserProxy file into the
about page subfolder.

Bug: b:270728282
Test: browser_tests --gtest_filter="OSSettingsOsAboutPage*"
Change-Id: Ibe8790e8fb8e86b364a4f2c1f9e85194987f4d80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260298
Commit-Queue: Wes Okuhara <wesokuhara@google.com>
Reviewed-by: Nikki Moteva <moteva@google.com>
Cr-Commit-Position: refs/heads/main@{#1255823}
2024-02-02 23:25:49 +00:00
e2908150eb [Virtual Cards] Added RecordType field to CreditCardData
Added a RecordType to CreditCardData to be able to communicate that the selected card was a virtual card to the backend. The wiring together of this information will be in a follow up CL.

Bug: b/323263315
Change-Id: If915d76ddc483d9d8445ced27b0f8d8821a1c233
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5256177
Reviewed-by: Siyu An <siyua@chromium.org>
Reviewed-by: Slobodan Pejic <slobodan@chromium.org>
Reviewed-by: Tommy Martino <tmartino@chromium.org>
Reviewed-by: Sebastien Seguin-Gagnon <sebsg@chromium.org>
Commit-Queue: Christina Bannon <chbannon@google.com>
Cr-Commit-Position: refs/heads/main@{#1255822}
2024-02-02 23:21:52 +00:00
24feacfcb9 [Fuchshia] Ignore deterministic failed tests on fuchsia-fyi-sherlock-qemu
pixel_tests: https://ci.chromium.org/ui/p/chrome/builders/ci/fuchsia-fyi-sherlock-qemu/213/overview

Bug: 1490427
Change-Id: I1d9e97aaa3c79a86cfec3f3b7db79983e5844bd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263058
Commit-Queue: Zijie He <zijiehe@google.com>
Commit-Queue: Brian Sheedy <bsheedy@chromium.org>
Auto-Submit: Zijie He <zijiehe@google.com>
Reviewed-by: Brian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255821}
2024-02-02 23:21:12 +00:00
0a603a36cd Add FormFiller
Moved enums/structs:
RefillTriggerReason
FillingContext (Will rename)
FieldFillingData

Moved Methods:
GetFieldFillingSkipReasons
ShouldFetchCreditCard
UndoAutofillImpl (Will rename)
FillOrPreviewFieldImpl (Will rename)
FillOrPreviewDataModelForm (Will rename)
GetFieldFillingData
FillField
[Set|Get]FillingContext
ShouldTriggerRefill
[Schedule|Trigger]Refill
MaybeTriggerRefillForExpirationDate

Moved members:
form_autofill_history_
filling_context_

Base->Patchset 2 mainly consists of moved code
Patchset 2->Latest Patchset consists of modifications.

Bug: 1517894
Change-Id: I19a46b5f8e30a193222d9a15308599f65c4a351b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5237381
Reviewed-by: Christoph Schwering <schwering@google.com>
Reviewed-by: Florian Leimgruber <fleimgruber@google.com>
Commit-Queue: Jihad Hanna <jihadghanna@google.com>
Cr-Commit-Position: refs/heads/main@{#1255820}
2024-02-02 23:20:43 +00:00
62440a5f32 Add unicode-bidi UA stylesheet rules
Per spec:

  https://html.spec.whatwg.org/multipage/rendering.html#bidi-rendering

this should be in the UA stylesheet:

address, blockquote, center, div, figure, figcaption, footer,
form, header, hr, legend, listing, main, p, plaintext, pre,
summary, xmp, article, aside, h1, h2, h3, h4, h5, h6, hgroup,
nav, section, search, table, caption, colgroup, col, thead,
tbody, tfoot, tr, td, th, dir, dd, dl, dt, menu, ol, ul, li,
bdi, output, [dir=ltr i], [dir=rtl i], [dir=auto i] {
  unicode-bidi: isolate;
}

To avoid breakage, I just added the elements, and not the [dir]
related rules, nor did I change the <bdo> rules.

Firefox and WebKit are both making the same change:
https://bugzilla.mozilla.org/show_bug.cgi?id=1874033
https://bugs.webkit.org/show_bug.cgi?id=267887

The stylesheet change interacts with the code at [1], and that code
also handles some of the cases such as [dir=auto] and bdi/bdo.
I will clean up some of the code at [1] in a followup CL.

[1] https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/html_element.cc;l=344-363;drc=20fecf94cc2226674dfefd698e96d8d44485b19c

Fixed: 1520671
Change-Id: Icaa32061efc59d963942b0629327bb596ac224ec
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5240082
Auto-Submit: Mason Freed <masonf@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255819}
2024-02-02 23:16:05 +00:00
706925d5d8 [MagicStack] Clean up ModuleDelegateHost#onTabSelected().
This is a follow up CL for https://crrev.com/c/5253707. We remove the
unused param ModuleType from ModuleDelegateHost#onTabSelected().

Bug: 1523728
Change-Id: I30cafd2e192ae188a987bc3b9305cdbc1576ed29
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5262805
Reviewed-by: Sky Malice <skym@chromium.org>
Commit-Queue: Xi Han <hanxi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255818}
2024-02-02 23:15:20 +00:00
b35f8e5da1 update links and refs in security faq to reflect tracker migration
Change-Id: I9e686987e04aa2e4f3c654472b63cf28c8e08507
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263898
Reviewed-by: Will Harris <wfh@chromium.org>
Reviewed-by: Alex Gough <ajgo@chromium.org>
Commit-Queue: Amy Ressler <amyressler@google.com>
Cr-Commit-Position: refs/heads/main@{#1255817}
2024-02-02 23:12:54 +00:00
855cb612c3 [infra] Update docstrings with ninja target name details.
For targets.compile_target and targets.binaries.* the value of the name
field is the name of the ninja target. This wasn't actually indicated
anywhere in the docstrings, so this rectifies that.

Bug: 1420012
Change-Id: I6ad113b6a445875b11784aeb2332d834c1e7a95d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5261751
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Auto-Submit: Garrett Beaty <gbeaty@google.com>
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255816}
2024-02-02 23:12:42 +00:00
26992f8e91 [IntersectionOptimization] Calculate min scroll delta before adjusting for zoom
Min scroll delta is in layout/zoomed coordinates. It must be calculated
when root_rect_ and target_rect_ are still in layout/zoomed coordinates.

Bug: 1519303
Change-Id: I9c4669125f69d7288541f6a76fbc82582b7539e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5260977
Reviewed-by: Stefan Zager <szager@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1255815}
2024-02-02 22:58:20 +00:00
559befed1d Roll clank/internal/apps from d6c19fddccb8 to b2c57e5766b5 (1 revision)
d6c19fddcc..b2c57e5766

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 chrome-brapp-engprod@google.com,lazzzis@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: lazzzis@google.com
No-Try: true
Change-Id: I17b7e0c4439862ef113fc25bf89ad04292d825ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5263024
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@{#1255814}
2024-02-02 22:57:18 +00:00