[bfcache] Do not lose CSP policy headers after bfcache restore
At the moment CSP headers are stored in FrameTreeNode and reset when the document in the FTN changes. This patch: - Disables resetting CSP policies stored on RFH when it is restored from bfcache. - Copies the policies stored on RFH to FTN's replication state during bfcache restore. - Evicts the page from bfcache if it has frame policy headers. R=alexmos@chromium.org,arthursonzogni@chromium.org BUG=1146025 Change-Id: I486c9bf30670a21e631ec70f7efc2ed305c96e62 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2519460 Commit-Queue: Alexander Timin <altimin@chromium.org> Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Auto-Submit: Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#824694}
Showing
Please register or sign in to comment