DescriptionFix cross-site popups to inherit their opener's sandbox flags even when popup opener is not set.
When a cross-process popup is opened from a sandboxed frame, and the
popup doesn't have window.opener set (e.g., due to rel=noopener), the
popup didn't inherit the opener frame's sandbox flags properly.
This CL fixes this case to work: we already pass the right sandbox
flags to be inherited in frame replication state, and they are also
correctly applied on the browser process side, so there's no need to
check for a non-null opener on the renderer side.
BUG=576204
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/f5fb5193353e4d19ff45ad2c8baac9196086333d
Cr-Commit-Position: refs/heads/master@{#386492}
Patch Set 1 #
Messages
Total messages: 14 (9 generated)
|