commit | ced70dd10e50662c63e720da8ccd4ae46741af37 | [log] [tgz] |
---|---|---|
author | Maks Orlovich <morlovich@chromium.org> | Wed Mar 08 17:27:27 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 08 17:27:27 2023 |
tree | 9ffae559004429d488de819d2ec38c4a6b7612bb | |
parent | 24ef5a2eb4c01b9c46a3ce45b3a50d2e6ff4828b [diff] |
CanonicalCookie::Create: Validate the passed-in URL is valid During the normal use for network things this does not matter since we wouldn't be able to get this far, but some platform-specific APIs can provide it explicitly, so it may end up being invalid, making things very confused. The test CookiesTreeModelTest.CookiesFilterWithoutSource got removed since it constructed invalid URLs to emulate the weirdness of one-existing CanonicalCookie::Source, but that got removed in https://codereview.chromium.org/2110483002/ making it moot. Bug: 1422034 Change-Id: Ia30f5a6d22c677e2de13f69223dd064fb61791ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4316884 Reviewed-by: Christian Dullweber <dullweber@chromium.org> Commit-Queue: Maks Orlovich <morlovich@chromium.org> Cr-Commit-Position: refs/heads/main@{#1114602}
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.