Fix deleting cookies from Site Settings
"Clear & reset" used GURL::DomainIs() to check if a cookie belongs to a specific domain. This doesn't handle cookies that are scoped to a domain and all subdomains correctly. E.g. a cookie for ".example.com" would not be removed if "example.com" is cleared. This is fixed by using CanonicalCookie::IsDomainMatch() instead, which correctly determines if a cookie is visible to a domain. Bug: 908364 Change-Id: If01fde74845c6c8a547ec86b0a3be8b9076b2d61 Reviewed-on: https://chromium-review.googlesource.com/c/1350634Reviewed-by:Peter Conn <peconn@chromium.org> Reviewed-by:
Finnur Thorarinsson <finnur@chromium.org> Reviewed-by:
Theresa <twellington@chromium.org> Commit-Queue: Christian Dullweber <dullweber@chromium.org> Cr-Commit-Position: refs/heads/master@{#611278}
Showing
Please register or sign in to comment