DescriptionUse top frame's origin when checking content settings for plugins.
When creating plugins, the renderer currently sends an IPC to the
browser process and passes the top frame's URL, to be used in a
content settings check on the IO thread. However, with out-of-process
iframes, this doesn't work if the top frame is a RemoteFrame, which
has no document or URL available. This CL changes the content
settings check to use the top frame's origin instead, which will use
replicated origins for RemoteFrames.
For discussion about this change, see https://groups.google.com/a/chromium.org/d/topic/site-isolation-dev/JPKPFfZpVHE/discussion
BUG=426658, 466297
Committed: https://crrev.com/be8f323e5038b29399adcfa365603a9b7cd13574
Cr-Commit-Position: refs/heads/master@{#345104}
Patch Set 1 #Patch Set 2 : Rebase and repurpose #Patch Set 3 : Nits #
Total comments: 2
Patch Set 4 : Rename object.html #
Total comments: 2
Patch Set 5 : Address thestig's nit #
Messages
Total messages: 14 (4 generated)
|