[client hints] Fixes for feature policy integration in navigation
1) If we're navigating a top-level, feature policy isn't generally available; this broke its application for client hints in fresh tabs. Instead, just use 1P check since we don't have feature-policy yet. 2) The 1P/3P check is also needed if we don't have feature policy use enabled. 3) The bug in #2 was unnoticed because the virtual testsuite for feature policy integration off only disabled it on renderer and not browser. Bug: 1050726 Change-Id: I9a26e8f818656e96ba130da38d08ccd017867f9d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2087977 Commit-Queue: Maksim Orlovich <morlovich@chromium.org> Reviewed-by:Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Yoav Weiss <yoavweiss@chromium.org> Cr-Commit-Position: refs/heads/master@{#747752}
Showing
Please register or sign in to comment