Fix sandbox flags for RenderFrameProxies created via OnCreateChildFrame.
After the fix for https://crbug.com/423587, we create proxies in other
SiteInstances for new child frames. However, the sandbox flags for
those proxies were not set properly: the flags were set on the FTN
after the proxies were already created in FrameTree::AddFrame, so the
proxies always ended up with empty sandbox flags. If those proxies
ever parented a local child, the child would not inherit the right
sandbox flags.
This CL fixes this by plumbing sandbox flags into FrameTree::AddFrame
and then into the FTN's constructor.
BUG=423587
Review URL: https://codereview.chromium.org/
1066943006
Cr-Commit-Position: refs/heads/master@{#327952}