Origin Opt-Ins should be done according to the site's ProcessLock URL.
Prior to this CL, when we record opted-in origins we did it using the site_url() value from the site's SiteInfo. But that causes problems for hosted apps, where the effective and actual urls don't match --- this leads to mis-matches in CanAccessDataForOrigin when it compares expected and actual process locks. Bug: 1141721 Change-Id: If1dfd6752a66686bc29afc0a60d64dee915fa504 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2558744 Commit-Queue: James MacLean <wjmaclean@chromium.org> Reviewed-by:Nasko Oskov <nasko@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Reviewed-by:
Łukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/master@{#831153}
Showing
Please register or sign in to comment