Chromium Code Reviews
DescriptionSet frame policy correctly in newly created renderer proxies
Previously, the initial frame policies (sandbox flags and container policy) were being set only in the browser, after the RenderFrameHost and any associated proxies were created, and were not being subsequently replicated to those proxies afterwards. This caused the feature policies constructed in remote frames to be incorrect.
Separately, container policies were not being replicated correctly to provisional render frames, so a frame which performed a cross-site navigation to an existing site instance would have the wrong policy after the navigation was committed.
This patch fixes both of those issues, and reinstates the disabled tests on the site-isolation trybots.
BUG=716085, 718160
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2955573003
Cr-Commit-Position: refs/heads/master@{#482968}
Committed: https://chromium.googlesource.com/chromium/src/+/098da75cd0415c2e21a7ee78e47a75abdfabf461
Patch Set 1 #
Total comments: 4
Patch Set 2 : Reinstate failing FP tests #Patch Set 3 : Reorder logic, add comment #Patch Set 4 : Stop using invalid pointer so much #Patch Set 5 : Fix container policy replication bug in provisional frames #
Dependent Patchsets: Messages
Total messages: 37 (27 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||