commit | 2ba55f86fd2e88ed3baf148331082c059bf19677 | [log] [tgz] |
---|---|---|
author | Lu Huang <luhua@microsoft.com> | Mon Jul 07 22:15:50 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 07 22:15:50 2025 |
tree | 6b7268b44df1da15738b836609a99db4382d4750 | |
parent | 8905299d9e05d92fcf34758e5ec908b993a4ed2b [diff] |
[dPWA] Hide CCT UI in web app popups created by an in-scope document In a web app context, the Chrome Custom Tab UI is used to warn users if the top level web contents are out of web scope or from a different security context/origin. Popup windows created by in-scope documents navigated to "about:blank" have no such need to warn the user. The CCT UI can be confusing to users in this scenario. This CL prevents the CCT UI from appearing in these popup windows. Test app: https://pwa-about-blank.glitch.me/ Screen capture: https://photos.app.goo.gl/rwHWFyU3ns9Rn1GJ7 Bug: 40874069 Change-Id: Id5f6e1bf50a7b2460038642ba8dbea1e9d678ca3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6675221 Reviewed-by: Marijn Kruisselbrink <mek@chromium.org> Commit-Queue: Lu Huang <luhua@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1483391}
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.