DescriptionOOPIF: Replicate allowFullscreen flag.
A frame is allowed enter fullscreen if the allowFullscreen attribute
is present in all of its ancestor <iframe> elements. For OOPIF, this
attribute needs to be replicated: when a parent frame updates
allowFullscreen for a remote child frame, the child's RenderFrame
needs to learn about this. Additionally, in a case like
A-embed-B-embed-C, when A updates allowFullscreen for B, C's process
also needs to be notified, since this affects C's fullscreen
calculation. Therefore, B's RenderFrameProxy in C's process also needs
to receive this update.
This CL replicates the allowFullscreen flag by adding it to
WebFrameOwnerProperties, which are already replicated to the child's
RenderFrame. It also adds logic to replicate WebFrameOwnerProperties
to the child's proxies as well, so that it can handle allowFullscreen
calculation across multiple remote ancestors.
BUG=550497
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation
Committed: https://crrev.com/788f45b374a8ad32e8a9a6eb910ded1360f33caf
Cr-Commit-Position: refs/heads/master@{#395496}
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : #Patch Set 4 : Cleanup #
Total comments: 2
Patch Set 5 : Rebase #Patch Set 6 : Only send non-default FrameOwnerProperties to new proxies #
Total comments: 8
Patch Set 7 : Charlie's comments #Patch Set 8 : Rebase #
Total comments: 2
Patch Set 9 : Daniel's comment #Patch Set 10 : Rebase #Messages
Total messages: 25 (10 generated)
|