Ensure commit_params->frame_policy is populated.
Only some of the browser initiated main frame navigation can have no FramePolicy assigned. The renderer-initiated and subframes ones must always have it defined. TODO(arthursonzogni): Consider always defining it in the future. This patch fixes a few cases and adds a DCHECK in the NavigationRequest to enforce this property in the future. Bug: 1086734, 1041376 Change-Id: Id2936a89193322fa609e4135820037fcbf7bd85c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2216255 Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#772611}
Showing
Please register or sign in to comment