Fix NetworkIsolationKey's GetSchemeAndRegistrableDomain() method.
The method was returning opaque origins for IP literals and effective TLDs, since GetDomainAndRegistry() returns an empty string in those cases. This CL makes it instead leave those hostnames intact. Also remove a couple unnecessary "net" namespace prefixes. Bug: 1030499 Change-Id: I5e7715a090e5bc30378579acef166a967483af8f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1950685Reviewed-by:Shivani Sharma <shivanisha@chromium.org> Reviewed-by:
Eric Lawrence [MSFT] <ericlaw@microsoft.com> Commit-Queue: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/master@{#721597}
Showing
Please register or sign in to comment