0
Commit Graph

1021877 Commits

Author SHA1 Message Date
b623bc2a69 [unseasoned-pdf] Enable JavaScript
Enable JavaScript in the Pepper-free viewer. Use a separate isolate than
Blink's for PDFium. This is fine, even on the same thread, because
PDFium only makes scoped entries to its V8 isolate, so there's no danger
of jumping back into Blink with PDFium's isolate being the current one.

The Unseasoned Viewer does not respect content settings yet.

Bug: 1111024
Change-Id: I8f92997d6d6fcb8f9b42c621da9230b26a63b998
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3003541
Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900586}
2021-07-12 19:25:56 +00:00
5d7622dd09 [attribution_reporting] Expose event source API surfaces via separate feature
To ensure that they aren't implicitly accessible if we continue the
clicks origin trial.

Bug: 1225718
Change-Id: If0a6c4e7216b2b74c77d0133acbbdbbfc18972dc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011750
Reviewed-by: Nate Chapin <japhet@chromium.org>
Reviewed-by: John Delaney <johnidel@chromium.org>
Commit-Queue: Andrew Paseltiner <apaseltiner@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900585}
2021-07-12 19:24:50 +00:00
e42d6a6412 [unseasoned-pdf] Avoid using blink::WebString in the Pepper process
blink::WebString's allocators can only be used if Blink is initialized.
Instead of initializing Blink, just avoid using blink::WebString in the
few places they're used in the Pepper process, at least for as long as
the Pepper process exists.

Change-Id: I73130fb840179a2c02e6ed6e1aeffae2e4f2f704
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018059
Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900584}
2021-07-12 19:23:33 +00:00
e4d8f80727 Fix AutofillAddress crash
AutofillAddress crashes when the AddressProfile is null. This CL adds
a null-check to avoid it.

Bug: 1227048
Change-Id: I128522cb85c11633f468f4e48bdc2d3f3b3d0480
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3010583
Reviewed-by: Nick Burris <nburris@chromium.org>
Reviewed-by: Liquan (Max) Gu <maxlg@chromium.org>
Reviewed-by: Roger McFarlane <rogerm@chromium.org>
Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900583}
2021-07-12 19:18:21 +00:00
55176c28de [SmartLock] Protect PrefManager access within EasyUnlockServiceSignin.
Speculative fix for crash at crbug.com/1219797, but is a clearly
correct null check regardless.

Test: Manually verified that switching between users at signin
screen correctly swaps between Smart Lock "sessions".

Bug: 1219797
Change-Id: I2b5768619716126bf2950f9902ad7f8c684cd244
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2977291
Commit-Queue: Ryan Hansberry <hansberry@chromium.org>
Reviewed-by: James Vecore <vecore@google.com>
Cr-Commit-Position: refs/heads/master@{#900582}
2021-07-12 19:16:14 +00:00
47764c093f [ios] Fixed crash in ChromeInternal with 2nd party sdk
2nd party SDK relies on UIApplication.delegate.window as
not optional, while it it, causing a crash.

Bug: 1227456
Change-Id: I36e109580e034299e25e59c4d016388b0f4c0af0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021141
Commit-Queue: David Jean <djean@chromium.org>
Reviewed-by: Mark Cogan <marq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900581}
2021-07-12 19:15:39 +00:00
3878a300b5 Diagnostics: Remove hardcoded kCpuStress
- Currently, the CPU stress routine is always passed to
   `OnStandardRoutineResult`. This change correctly reports the
   routine type when a routine fails to start.

Bug: 1227792
Change-Id: Ifa17d5722b5b415c26b57f3967de10993bd413cb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018424
Commit-Queue: Michael Checo <michaelcheco@google.com>
Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org>
Auto-Submit: Michael Checo <michaelcheco@google.com>
Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900580}
2021-07-12 19:08:52 +00:00
4fac1e8186 Enable Safe Browsing download protection on Fuchsia
This CL makes a couple changes to how file type policies are controlled
to support building Chrome for Fuchsia.
1. We disable the File Type Policies component updater, since we can't
get a Fuchsia-specific version of the component.
2. We ship a minimal file type policy with all file types marked as
safe.

This effectively disables download protection without disabling other
Safe Browsing functionality. If Fuchsia is ever in need of download
protection, we can fairly easily modify this approach to ship a
different file type policy in the future.

Bug: 1056278
Change-Id: I835fcb70ea1bed63193be830f53ed57a9ea2d3a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3012281
Reviewed-by: Nathan Parker <nparker@chromium.org>
Reviewed-by: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Reviewed-by: Bettina Dea <bdea@chromium.org>
Commit-Queue: Daniel Rubery <drubery@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900579}
2021-07-12 19:06:06 +00:00
f24238749e Roll src-internal from 6ff12cf5eca7 to 7169b68f6aa0 (1 revision)
6ff12cf5ec..7169b68f6a

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 ldavidbaron@google.com,gayane@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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:1179809,chromium:953862
Tbr: ldavidbaron@google.com,gayane@google.com
Change-Id: I0471c65d385ff8409caaf53cb13416db904e62ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021721
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/master@{#900578}
2021-07-12 19:02:30 +00:00
8903921415 [pdf] Respect FontMappingMode::kNoMapping
Return early from MapFont() if there is no font mapping.

Bug: 1216217
Change-Id: I7486655989521e74b034aba4c2dd5e6cf45072b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3017514
Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900577}
2021-07-12 19:01:47 +00:00
18871a92f7 [cpu-profiler] Require specification of maxBufferSize
Make the Blink implementation consistent with the spec, requiring
maxBufferSize to be specified for profiler instantiation.

Bug: 956688
Change-Id: Icbb85a4679b91bf47e6a173c9f048bb004c66cd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3019395
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900576}
2021-07-12 18:58:23 +00:00
6cc27cea79 Refactor chrome://projector and add skeleton WebUI for Player app
This CL refactors the chrome://projector host and adds a skeleton
WebUI for the Player App. More functionality to come in follow-up CLs.

Bug: 1213937
Change-Id: I0f77e55a17032b057c94bccf73d5bfd8c89cba8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3013210
Reviewed-by: dpapad <dpapad@chromium.org>
Reviewed-by: Yilkal Abe <yilkal@chromium.org>
Commit-Queue: Toby Huang <tobyhuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900575}
2021-07-12 18:49:43 +00:00
6ff5cea75b [css-flex] Migrate more abspos tests from reference to check-layout
Before this patch, the entire test file is marked Fail even though each
file has ~15-20 tests in it, some of which Blink passes. If we were to
regress any of the tests we pass, we'd never know.

Firefox passes all these tests so I wrote a script that harvests
Firefox's offsetTop/Left values and stuffs them into data-offset-x/y.

Most recent similar patch is at
https://chromium-review.googlesource.com/c/chromium/src/+/2965267

Change-Id: I0bfcb3a5c08c3abac6238d79917065facc39aa63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3016361
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: David Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900574}
2021-07-12 18:49:23 +00:00
dad7c5dc45 Respect stat collection consent for crashpad user metrics collection
With this patch, crashpad will no longer collect metrics if there is no
user consent for stats collections.

This is a follow-up to the discussion in https://crrev.com/c/2923889

BUG=1210598

Change-Id: I1eceaa10f9d09f95b74cb4a2d2eac03008ec5b40
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2999433
Reviewed-by: Mark Mentovai <mark@chromium.org>
Reviewed-by: Greg Thompson <grt@chromium.org>
Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900573}
2021-07-12 18:47:01 +00:00
fff8477901 [unseasoned-pdf] Add PluginResponseWriter
Adds a class to generate and write out a synthetic response containing
an application/x-google-chrome-pdf plugin. Implementation loosely
modeled on `content::DataURLLoaderFactory::CreateLoaderAndStart()`.

A future change will hook this into PdfURLLoaderRequestInterceptor, in
order to replace the response to the navigation request created by
PdfNavigationThrottle.

Bug: 1123621
Change-Id: Ibe410b5635749d598c5aa041dc15186968d2db28
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3016362
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Daniel Hosseinian <dhoss@chromium.org>
Reviewed-by: David Benjamin <davidben@chromium.org>
Commit-Queue: K. Moon <kmoon@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900572}
2021-07-12 18:44:42 +00:00
d8fe6fcc24 T&S Sentiment: Connect Password Manager signal to SentimentService
Pipes the signal that the user has opened the password manager settings
page from the PasswordSectionElement, through the HatsHandler, to the
SentimentService. The service is then able to watch the provided
WebContents to ensure the user remains on settings for the required
period of time, before considering them eligible for a survey.

Bug: 1221076
Change-Id: I43d388e7fcc01ffec4d7f92da8cef927d8a36a76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3013836
Reviewed-by: Viktor Semeniuk <vsemeniuk@google.com>
Reviewed-by: dpapad <dpapad@chromium.org>
Reviewed-by: Sean Harrison <harrisonsean@chromium.org>
Commit-Queue: Theodore Olsauskas-Warren <sauski@google.com>
Cr-Commit-Position: refs/heads/master@{#900571}
2021-07-12 18:43:57 +00:00
c2288b0491 cros: Don't trigger cookie jar update on ADD_SESSION
Bug: b/184844501
Change-Id: Ibf6a04cec81aa24615850631728f85b0e1d86585
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2991230
Reviewed-by: David Roger <droger@chromium.org>
Reviewed-by: Nohemi Fernandez <fernandex@chromium.org>
Reviewed-by: Boris Sazonov <bsazonov@chromium.org>
Commit-Queue: Anastasiia N <anastasiian@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900570}
2021-07-12 18:43:31 +00:00
4003058986 Roll DevTools Frontend from 74835cce21f8 to 77b38d3f8f32 (3 revisions)
74835cce21..77b38d3f8f

2021-07-12 andoli@chromium.org Add functionality to remove registered late initialization runnables
2021-07-12 tvanderlippe@chromium.org Remove baseUrl from TypeScript options
2021-07-12 victorporof@chromium.org Make sure "Fit to Window" percentage is rounded in the device toolbar

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@grotations.appspotmail.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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Bug: chromium:1223412
Tbr: devtools-waterfall-sheriff-onduty@grotations.appspotmail.com
Change-Id: I14856fd9877b879539309998ab31f96118866dd2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021482
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/master@{#900569}
2021-07-12 18:42:24 +00:00
3f625fd4e4 Revert "Roll clang llvmorg-13-init-14732-g8a7b5ebf-2 : llvmorg-13-init-15040-gc10947b5-1"
This reverts commit 1745624daa.

Reason for revert: Somewhat speculative, see
https://bugs.chromium.org/p/chromium/issues/detail?id=1228392

Original change's description:
> Roll clang llvmorg-13-init-14732-g8a7b5ebf-2 : llvmorg-13-init-15040-gc10947b5-1
>
> Ran `tools/clang/scripts/upload_revision.py c10947b5f808af312e9f904096ae1dbaf95ad9f6`.
>
> Bug: 1227195
> Change-Id: I471547ef3d31806b3016b2243ea0098b910cbb12
> Cq-Include-Trybots: chromium/try:chromeos-amd64-generic-cfi-thin-lto-rel
> Cq-Include-Trybots: chromium/try:dawn-win10-x86-deps-rel
> Cq-Include-Trybots: chromium/try:linux-chromeos-dbg
> Cq-Include-Trybots: chromium/try:linux_angle_deqp_rel_ng
> Cq-Include-Trybots: chromium/try:linux_chromium_cfi_rel_ng
> Cq-Include-Trybots: chromium/try:linux_chromium_chromeos_msan_rel_ng
> Cq-Include-Trybots: chromium/try:linux_chromium_compile_dbg_32_ng
> Cq-Include-Trybots: chromium/try:linux_chromium_msan_rel_ng
> Cq-Include-Trybots: chromium/try:mac-arm64-rel,mac_chromium_asan_rel_ng
> Cq-Include-Trybots: chromium/try:win-asan,win7-rel
> Cq-Include-Trybots: chromium/try:android-official,fuchsia-official
> Cq-Include-Trybots: chromium/try:mac-official,linux-official
> Cq-Include-Trybots: chromium/try:win-official,win32-official
> Cq-Include-Trybots: chrome/try:iphone-device,ipad-device
> Cq-Include-Trybots: chrome/try:linux-chromeos-chrome
> Cq-Include-Trybots: chrome/try:win-chrome,win64-chrome,mac-chrome
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3019458
> Auto-Submit: Nico Weber <thakis@chromium.org>
> Commit-Queue: Hans Wennborg <hans@chromium.org>
> Reviewed-by: Hans Wennborg <hans@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#900373}

Bug: 1227195
Change-Id: Ic48878632e844411eae89b04d78253df08eee6df
Cq-Include-Trybots: chromium/try:chromeos-amd64-generic-cfi-thin-lto-rel
Cq-Include-Trybots: chromium/try:dawn-win10-x86-deps-rel
Cq-Include-Trybots: chromium/try:linux-chromeos-dbg
Cq-Include-Trybots: chromium/try:linux_angle_deqp_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_cfi_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_chromeos_msan_rel_ng
Cq-Include-Trybots: chromium/try:linux_chromium_compile_dbg_32_ng
Cq-Include-Trybots: chromium/try:linux_chromium_msan_rel_ng
Cq-Include-Trybots: chromium/try:mac-arm64-rel,mac_chromium_asan_rel_ng
Cq-Include-Trybots: chromium/try:win-asan,win7-rel
Cq-Include-Trybots: chromium/try:android-official,fuchsia-official
Cq-Include-Trybots: chromium/try:mac-official,linux-official
Cq-Include-Trybots: chromium/try:win-official,win32-official
Cq-Include-Trybots: chrome/try:iphone-device,ipad-device
Cq-Include-Trybots: chrome/try:linux-chromeos-chrome
Cq-Include-Trybots: chrome/try:win-chrome,win64-chrome,mac-chrome
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3022043
Auto-Submit: Nico Weber <thakis@chromium.org>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#900568}
2021-07-12 18:41:05 +00:00
315bdd5526 [memories] Adds an option to remove the top visit only
- When a top visit is removed, whether alone or along with the rest of
  the visits in the cluster, the cluster should either be entirely
  removed or restructured. This CL adds logic to refresh the list of
  clusters in that scenario so those changes are reflected in the UI.
- Also fixes a bug when deleting related visits was not being reflected
  in the UI.

screenshot/8bR4yCRaAU5PncX

Bug: 1173908
Change-Id: Ia4e08585ab158b12ae5bcd2bf73536bda7ba65a3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2998321
Reviewed-by: Tommy Li <tommycli@chromium.org>
Commit-Queue: Moe Ahmadi <mahmadi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900567}
2021-07-12 18:41:00 +00:00
54ea1ad1fd Roll Skia from 49c417621bf8 to 25a29e815d7b (2 revisions)
https://skia.googlesource.com/skia.git/+log/49c417621bf8..25a29e815d7b

2021-07-12 jvanverth@google.com Make GrMtlAttachment a little more generic.
2021-07-12 johnstiles@google.com Disable SkSLMatrixToVectorCast test on Adreno 4/5/6xx.

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/skia-autoroll
Please CC johnstiles@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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-blink-rel;luci.chromium.try:linux-chromeos-compile-dbg;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Cq-Do-Not-Cancel-Tryjobs: true
Bug: None
Tbr: johnstiles@google.com
Change-Id: I1abee16863a161e03aac573643239d2ea768c5d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021822
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/master@{#900566}
2021-07-12 18:40:52 +00:00
e7f59f360a Migrate QuicConnectivityProbingManagerTest to not rely on timer tasks
A future update is planned for base timers that will change how
cancelled tasks are handled on the task queues. This mean that tests can
no longer depend on the number of tasks posted by a cancelled timer.

Bug: 1189304
Change-Id: Ie66ec1f22f7d4e5bc42b4213ec580b89d2966547
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2994828
Reviewed-by: Victor Vasiliev <vasilvv@chromium.org>
Commit-Queue: Patrick Monette <pmonette@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900565}
2021-07-12 18:39:26 +00:00
1f571fdb27 Web Feed - add alternative follow accelerator using IPH
We will experiment with both IPH and bubble accelerators,
let's see which works best by using a finch experiment.


Following Lure - add an IPH lure alternative

We want to run an experiment to see if IPH works better than the
bubble follow accelerator.  This will provide the IPH variant.

The pulsing of the menu and menu button will come in a different
changelist.

Bug: b/191999620
Change-Id: If5fcfdd4e60bad854a69f0353c6e9d30bbeb8d14
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2998309
Reviewed-by: Cathy Li <chili@chromium.org>
Commit-Queue: Peter Williamson <petewil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900564}
2021-07-12 18:39:16 +00:00
89aa28e3ab Diagnostics: Simplify network property lookup
Bug: 1197335
Test: browser_tests --gtest_filter=DiagnosticsApp*
Change-Id: I88d7bd9ee99c4c736c1b6d36c40aa07dc868481f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018881
Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org>
Reviewed-by: Jimmy Gong <jimmyxgong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900563}
2021-07-12 18:35:44 +00:00
45a4f43334 Mark background-position-201.xht as flaky on Debug Mac10.15.
This extends the Mac10.14 annotation to also annotate Debug Mac10.15 in
the same way, because background-position-201.xht fails intermittently
on the Mac 10.15 Debug bot (although not Release).  See, for example:
https://ci.chromium.org/p/chromium/builders/ci/Mac10.15%20Tests%20%28dbg%29/1666
https://ci.chromium.org/p/chromium/builders/ci/Mac10.15%20Tests%20%28dbg%29/1665
https://ci.chromium.org/p/chromium/builders/ci/Mac10.15%20Tests%20%28dbg%29/1664
https://ci.chromium.org/p/chromium/builders/ci/Mac10.15%20Tests%20%28dbg%29/1663
https://ci.chromium.org/p/chromium/builders/ci/Mac10.15%20Tests%20%28dbg%29/1661

Bug: 626703
Change-Id: I5ada2cedfcc6e6dfcd5c8f013671ca2ea3c771e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021941
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: David Baron <dbaron@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900562}
2021-07-12 18:35:38 +00:00
d4e017e631 Remove cmtice@chromium.org from chromeos/hugepage_text/OWNERS
This is an automatically generated changelist based on group memberships and affiliations.

To approve this change, CR+1/2 this change and submit. To reject this change, CR -1 this change, and the bot will abandon the change.

Change-Id: I6d69bf51729cbdb31da6e64b3edd903389329bdc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021803
Reviewed-by: George Burgess <gbiv@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
Auto-Submit: Owners Cleanup <swarming-tasks@owners-cleanup-prod.google.com.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#900561}
2021-07-12 18:35:34 +00:00
3bd28c3614 Disable mac_signing_tests on mac 10.11 and 10.12 builders
Bug: 1220743
Change-Id: I551e02b81a8287e65dbc9a11bc43eebe6c8eb394
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3019202
Auto-Submit: Dominic Battré <battre@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900560}
2021-07-12 18:35:29 +00:00
0448d34d1f Don't use SwANGLE for headless yet
There are a number of issues related to using SwANGLE with
headless Ozone, and I need more time to debug them. This CL
turns off SwANGLE for headless Ozone for now, until all
headless related issues are fixed.

Bug: chromium:1228219
Bug: chromium:1227864
Change-Id: I127ef0d5f05b48edcbea01eb7df76c48019e041c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021045
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: Alexis Hétu <sugoi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900559}
2021-07-12 18:35:25 +00:00
ec9a720b73 Set lock-screen-reauth dialog dimension and pass it to JS
-Set the dialog dimension to cover 86% of the screen size
-Send orientation and dialog width to JS

Bug: 1102942
Change-Id: Iaa2e201554301a14f44e6e9e52d2db7e3f66cdad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3008795
Commit-Queue: Mohammed Abdon <mohammedabdon@chromium.org>
Reviewed-by: Roman Aleksandrov <raleksandrov@google.com>
Reviewed-by: Roman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900558}
2021-07-12 18:32:14 +00:00
4f84273ef6 scanning: Update page numbers while scrolling
-Update the page numbers in the action toolbar as the user scrolls up
 and down the preview images

-The page numbers are calculated to change based off of the image's
 height

-The position of the toolbar is fixed and will be updated in a later CL
 to position itself based on the height and width of the preview images

video: https://drive.google.com/file/d/1_CQYPvAN0V8d7enbiucTfMHxfCTG12_Q/view?usp=sharing&resourcekey=0-BkRpcy661n5rGW3avSXiYA

Bug: 1210271
Change-Id: I5d9e92cac37464ccd02a1f94b9ccf31ca379f709
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3012333
Commit-Queue: Gavin Williams <gavinwill@chromium.org>
Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900557}
2021-07-12 18:17:43 +00:00
ab1696a8d1 app_list: Embed assistant in bubble launcher
Initial skeleton for embedding. Host the "plate" (input views) and
"stage" (output views) in AppListBubbleAssistantPage. Hide the main
SearchBoxView when assistant is visible.

See go/bubble-launcher-assistant for brief design sketch. Screenshots:
https://screenshot.googleplex.com/6ooeYqFhFxzbHXv
https://screenshot.googleplex.com/A7FWeFaJz4fxoST

Known issues:
- Background is white
- Clipping issues with rounded corners at bottom of bubble when the
  assistant output is very tall, filed crbug.com/1226153

Bug: 1225794
Test: added to ash_unittests

Change-Id: I06bdb9bd2625b8d494161b684bcc859eb43192a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3003135
Reviewed-by: Toni Baržić <tbarzic@chromium.org>
Commit-Queue: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900556}
2021-07-12 18:17:24 +00:00
39a9eee668 Use MATCH_DEFAULT_ONLY when looking for default handlers.
A change in Android S requires the PackageManager.MATCH_DEFAULT_ONLY
flag to be used when searching for apps that can handle a browsable
URL. Technically the old behavior was a bug, but still worked.

Change-Id: I6c7c8bd8236f48a18707b30879246a6f6c005d85
Bug: 1226468
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021087
Reviewed-by: Ella Ge <eirage@chromium.org>
Commit-Queue: Peter Conn <peconn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900555}
2021-07-12 18:17:20 +00:00
692d901c63 Roll Perfetto Trace Processor Mac from 10a3658d9f6b to 9d04c12dbe18
10a3658d9f..9d04c12dbe

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-mac-chromium
Please CC perfetto-bugs@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

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

Tbr: perfetto-bugs@google.com
Change-Id: I12d72afbef9ce7a3caf8246cfdffc062757dde20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021601
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/master@{#900554}
2021-07-12 18:17:05 +00:00
c5f0a52ad3 Diagnostics: Fix const on local variable
Bug: 1197335
Test: browser_tests --gtest_filter=DiagnosticsApp*
Change-Id: Iab38696ca1e7b1c0d815986967fec91da6abd7b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018783
Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org>
Reviewed-by: Jimmy Gong <jimmyxgong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900553}
2021-07-12 18:13:08 +00:00
6bdcb9ddbd Update V8 to version 9.3.331.
Summary of changes available at:
6f82b162..9137c5db

Please follow these instructions for assigning/CC'ing issues:
https://v8.dev/docs/triage-issues

Please close rolling in case of a roll revert:
https://v8-roll.appspot.com/
This only works with a Google account.

CQ_INCLUDE_TRYBOTS=luci.chromium.try:linux-blink-rel
CQ_INCLUDE_TRYBOTS=luci.chromium.try:linux_optional_gpu_tests_rel
CQ_INCLUDE_TRYBOTS=luci.chromium.try:mac_optional_gpu_tests_rel
CQ_INCLUDE_TRYBOTS=luci.chromium.try:win_optional_gpu_tests_rel
CQ_INCLUDE_TRYBOTS=luci.chromium.try:android_optional_gpu_tests_rel

R=hablich@chromium.org,vahl@chromium.org,v8-waterfall-sheriff@grotations.appspotmail.com

Change-Id: I89497ddbd19bb6d4379b00eb3b2c0de3d791a337
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021324
Bot-Commit: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Commit-Queue: v8-ci-autoroll-builder <v8-ci-autoroll-builder@chops-service-accounts.iam.gserviceaccount.com>
Cr-Commit-Position: refs/heads/master@{#900552}
2021-07-12 17:59:32 +00:00
0a3ce7b820 Diagnostics: Remove redundant code in case statement
- No change in behavior

Bug: 1197335
Test: browser_tests --gtest_filter=DiagnosticsApp*
Change-Id: I51296e9fd86a089c4fbc50fc98ad213c5c145e9a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018732
Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org>
Reviewed-by: Jimmy Gong <jimmyxgong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900551}
2021-07-12 17:56:12 +00:00
2dbf4c39a7 Settings: Convert a few Behaviors to Mixins.
Specifically converting MainPageBehavior, RouteObserverBehavior and
PasswordCheckBehavior.

Unfortunately files that inherit the GlobalScrollTargetBehavior can't
be switched to use RouteObserverMixin yet, since that behavior already
inherits from RouteObserverBehavior.

Bug: 1206112
Change-Id: I8b39505b57c07dcd5d0bc758e0e9ce84c988f395
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3014175
Reviewed-by: John Lee <johntlee@chromium.org>
Reviewed-by: Viktor Semeniuk <vsemeniuk@google.com>
Commit-Queue: dpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900550}
2021-07-12 17:56:07 +00:00
ded49fc6cc Fix CPU-rendered 2d OffscreenCanvas not displaying correctly with OOPR enabled on Mac.
The main issue was that the wrong texture target was being used.  The
logic in CanvasResourceProvider::CreateSharedImageProvider was not
correctly predicting that the canvas resource was a valid overlay
candidate, and thus should use GL_TEXTURE_RECTANGLE_ARB as its texture
target in order to work with IOSurface. The old logic was turning off
the SCANOUT bit due to lack of support for the
CHROMIUM_texture_storage_image extension, but it seems that
GPUMemoryBuffer supports scanout without that extension in the case
where rendering is done on the CPU.

The changes in canvas_resource.cc fix DCHECKS that were causing the
test to crash.

The changes in canvas_resource_provider.cc fix the bad texture
target issue.

Test coverage is provided by
gpu_tests.pixel_integration_test.PixelIntegrationTest.Pixel_OffscreenCanvasUnaccelerated2DGPUCompositing

Bug: 1215261
Change-Id: I5335f80125421c5590416fda20b89b749715a271
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3016512
Reviewed-by: Juanmi Huertas <juanmihd@chromium.org>
Commit-Queue: Justin Novosad <junov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900549}
2021-07-12 17:56:02 +00:00
41142f46f0 ios: Remove UmaCellular and FixUmaCellularMetricsRecording.
UmaCellular has been enabled for over a year, but it had a logic error.
FixUmaCellularMetricsRecording corrected that error. Now both can be
removed, as well as other cleanup related to UmaCellular.

Bug: 953862, 1179809, 906272
Change-Id: I82af80b6ef4e9164557ffe4142905e72234308e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3011522
Reviewed-by: Chris Lu <thegreenfrog@chromium.org>
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900548}
2021-07-12 17:55:56 +00:00
fa7eba08f9 Use thread-safe constants in Performance::mark
performance.mark() can be called from both the main thread as well as
from any worker thread, so using a non-thread-safe constant is incorrect
and is currently causing a lot of tests to hit a race DCHECK.

Bug: 1227803
Change-Id: If264d4b8af20d3d3565daff37f62ab3b72462cf5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021005
Auto-Submit: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Annie Sullivan <sullivan@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900547}
2021-07-12 17:55:51 +00:00
03fa9a96cf [Capture Ribbon] Fix bool inversion of fallback string
When the hostname of the capturing/captured tab is unknown there
is a fallback string. This CL fixes an inverted bool and uploads
the new, corrected screenshots' hashes.

Bug: 1224363
Change-Id: I20181b97b5224a3ba3b46f8322149f2b2410c776
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3021143
Auto-Submit: Elad Alon <eladalon@chromium.org>
Commit-Queue: Guido Urdaneta <guidou@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900546}
2021-07-12 17:55:38 +00:00
d49f36f593 [Android]: Add AppIdentity proto bool to show dialog support.
This is needed so we can allow the update server-side, because
we know the client has shown the app identity dialog to the user
(when app identity updates are involved).

Bug: 1205472
Change-Id: Ic886e06c613217a31410d14c2eb37ac583988f7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015917
Reviewed-by: Peter Conn <peconn@chromium.org>
Reviewed-by: Peter Kotwicz <pkotwicz@chromium.org>
Reviewed-by: Glenn Hartmann <hartmanng@chromium.org>
Reviewed-by: Rayan Kanso <rayankans@chromium.org>
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Auto-Submit: Finnur Thorarinsson <finnur@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900545}
2021-07-12 17:55:28 +00:00
a99c8187ee Revert "Implement Add to Reading List tab grid bulk action"
This reverts commit 30577af6fa.

Reason for revert: Compile failure closing the tree: https://ci.chromium.org/ui/p/chromium/builders/ci/ios-simulator-noncq/18950/overview

Original change's description:
> Implement Add to Reading List tab grid bulk action
>
> Additionally, move UrlWithTitle to util directory to prevent
> dependency cycle with activity_services/*.
>
> Bug: 1196907, 1196949
> Change-Id: I86fce6de6b8effbd212169511b74ab6cf264004f
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3002148
> Commit-Queue: Mike Dougherty <michaeldo@chromium.org>
> Auto-Submit: Mike Dougherty <michaeldo@chromium.org>
> Reviewed-by: Mark Cogan <marq@chromium.org>
> Reviewed-by: Chris Lu <thegreenfrog@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#900539}

Bug: 1196907, 1196949
Change-Id: I96e98ce0d956908469d72fc7471da0a5af30d0d4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3020875
Auto-Submit: sebsg <sebsg@chromium.org>
Reviewed-by: sebsg <sebsg@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: David Baron <dbaron@chromium.org>
Owners-Override: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900544}
2021-07-12 17:54:31 +00:00
2f61daf119 Fix the references to the ui.ChromeLogin
ui.ChromeLogin and ui.ChromeLoginGAIA were renamed in
http://crrev/c/2981353

Bug: b:187788829, 1227801, 1167243, 1115622
Change-Id: I00b843ebd8eb45600dbde0d1a4893df2e0d909e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015347
Reviewed-by: Ben Pastene <bpastene@chromium.org>
Commit-Queue: Roman Sorokin [CET] <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900543}
2021-07-12 17:30:22 +00:00
d12ff5461f Remove unavailable test suites from android-12-x64-fyi-rel
This would fix the builder step "generate_build_files"

Bug: 1225851
Change-Id: I3f80b5e52f99ba6f1698871e7f50dfc9a6fad46e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018737
Auto-Submit: Haiyang Pan <hypan@google.com>
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Commit-Queue: Yuke Liao <liaoyuke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900542}
2021-07-12 17:29:02 +00:00
2294a3c1e2 Skip updating exit bubble if mouse lock changes under tab-fullscreen
When tab-fullscreen is active, both mouse-lock and unlock show the same
exit instruction on the top bubble ("Press Esc to exit fullscreen").
For use-cases where lock/unlock is called repeatedly, the exit bubble is
updated repeatedly without any change in exit instruction test, which
can keep the bubble visible for arbitrarily long time.

This CL skips bubble updates for unchanged exit instruction.  So the
exit bubble can now hide after a while even with repeated mouse-lock
changes under active tab-fullscreen.

This deliberately skips browser-fullscreen because it has a different
exit key (F11) than mouse-lock.  After a mouse-lock exit through Esc,
the user still needs to be reminded about F11 exit.

Bug: 143780
Change-Id: I5759d28dc39fdd8ae368389d326cf80eca82c7e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3016198
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900541}
2021-07-12 17:26:39 +00:00
718383b78a [ios] Use the new modals API in //ios/chrome/browser
Use the `modals` API exposed as free function instead of the old
API going through the `ModalsProvider` class.

The class `ModalsProvider` is not removed yet to prevent breaking
the internal repository when this CL lands. It will be removed in
a followup CL once the sub-class has been deleted.

Bug: 1201182
Change-Id: Ica87744a7b57e5de70773c548cfbb0d89930e745
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3009585
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Olivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900540}
2021-07-12 17:24:03 +00:00
30577af6fa Implement Add to Reading List tab grid bulk action
Additionally, move UrlWithTitle to util directory to prevent
dependency cycle with activity_services/*.

Bug: 1196907, 1196949
Change-Id: I86fce6de6b8effbd212169511b74ab6cf264004f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3002148
Commit-Queue: Mike Dougherty <michaeldo@chromium.org>
Auto-Submit: Mike Dougherty <michaeldo@chromium.org>
Reviewed-by: Mark Cogan <marq@chromium.org>
Reviewed-by: Chris Lu <thegreenfrog@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900539}
2021-07-12 17:23:20 +00:00
ade8427e35 Extend WebRtcEventLogging histograms
Bug: 1212705
Change-Id: Ie896fcfcb698b62a7510671cd9a1bdb0cc978189
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015204
Auto-Submit: Elad Alon <eladalon@chromium.org>
Commit-Queue: Robert Kaplow <rkaplow@chromium.org>
Reviewed-by: Robert Kaplow <rkaplow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900538}
2021-07-12 17:16:20 +00:00
21bcdf9b71 Diagnostics: Make function names consistent
- No change in behavior

Bug: 1197335
Test: browser_tests --gtest_filter=DiagnosticsApp*
Change-Id: I68cad98226b2ef3e7afbf6d496296e4978332828
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3018538
Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org>
Reviewed-by: Jimmy Gong <jimmyxgong@chromium.org>
Cr-Commit-Position: refs/heads/master@{#900537}
2021-07-12 17:12:42 +00:00