commit | fb52047e580d0028b94c7447f4a23d53badc94df | [log] [tgz] |
---|---|---|
author | Ben Scarlato <akhna@google.com> | Mon Dec 16 23:18:35 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 16 23:18:35 2024 |
tree | af4b830e15bee477cbbd7b1f3d02bdaf831cc826 | |
parent | cadd4b50f8a9e6890d8e8befeba500f6dbd622b0 [diff] |
Add test UiRestriction for isDesktop(). This will be used for testing features that are Desktop specific, such as the stricter site isolation used for Desktop. The check is based on the same BuildConfig property used to determine Desktop status elsewhere in Clank. Example: https://chromium-review.googlesource.com/c/chromium/src/+/6043198 Bug: 383580273 Test: returns true for Desktop Android devices, false otherwise Low-Coverage-Reason: TRIVIAL_CHANGE adding helper for javatests Change-Id: I8afcb9d59993d888abe95fe246ea4f070135f13d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6089616 Commit-Queue: Sinan Sahin <sinansahin@google.com> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Sinan Sahin <sinansahin@google.com> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Auto-Submit: Ben Scarlato <akhna@google.com> Cr-Commit-Position: refs/heads/main@{#1397037}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.