Fix the get start url logic in AppsNavigationThrottle.
Currently when there is a redirect link open on in new tab (e.g. link from gmail, youtube sharing link), the get start URL gets empty URL and hence didn't trigger an app query. The reason is that we were using the SiteInstance's Site URL. This is no longer working in some cases due to the site isolation fixes. Change it to use initiator origin from the NavigationHandle. BUG=1048042 Change-Id: Ib264d35c31284826dabdfc65056fbc99d5fe9014 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055908 Commit-Queue: Maggie Cai <mxcai@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#741364}
Showing
Please register or sign in to comment