commit | ad616254ba3dffc13706d0615dba60af88669e4c | [log] [tgz] |
---|---|---|
author | Olivier ROBIN <olivierrobin@google.com> | Mon Oct 16 12:26:21 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 16 12:26:21 2023 |
tree | 6fd74a589b55f8a2e63cd33bab13f4a96c1692d7 | |
parent | 95bad2ee46da288bc57b738b05047c8d1ae185cd [diff] |
[IOS] Add open extension EG test Create an EGTest to check that the open extension works as intended. The real extension requires app_groups and uses Chrome scheme so create a smaller one that requires no entitlement and uses a customizable scheme. This smaller extension uses the same method to open the application, so it should be enough to test the application openining. This CL: - Extracts the open url logic in a ios/chrome/common function - Creates a small extension that use this function - Creates an EG test that triggers this extension - Refactor existing extension to use the function - Cleans the share extension to use weakself in blocks as a cleanup. Bug: 1478760 Change-Id: I8593d4ae87675877e7415ee8f4f9545f77b804d3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4916304 Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/main@{#1210134}
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.