Make NetworkHintsHandlers use pending NetworkIsolationKeys.
They had been using the NetworkIsolationKey of the last committed navigation, but since preconnects are triggered on headers received, they can bear the commit to the RenderFrameHost. This does mean that on navigating away, if the RenderFrameHost is reused, there's a greater chance of using the NIK of the new commit rather than the old one, when preconnecting. Bug: 1157450 Change-Id: Id02e590cb47221194fee8e68cc7d213483c1920d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584466 Commit-Queue: Matt Menke <mmenke@chromium.org> Auto-Submit: Matt Menke <mmenke@chromium.org> Reviewed-by:Alex Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#836622}
Showing
Please register or sign in to comment