Introduce `SecurityOrigin::IsSameOriginDomainWith()`.
This patch introduces a "same origin-domain" check, distinct from `SecurityOrigin::CanAccess()`, and uses it to implement the latter. This is a small step towards auditing the points at which we're calling `::CanAccess()` to decide whether we ought to be performing a "same origin", or "same origin-domain" check instead. Bug: 1027191 Change-Id: If6007367da7e044d008f056e3f816ac422551e7c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1951001 Commit-Queue: Mike West <mkwst@chromium.org> Reviewed-by:Dave Tapuska <dtapuska@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#722439}
Showing
Please register or sign in to comment