DescriptionModifies WindowProxy::setSecurityToken so that the frame's SecurityOrigin is taken into account when setting the token for an extension.
Chrome extensions (or, in general, scripts that run in isolated worlds) can no longer do cross-origin access to the parent window or other iframes.
If the domain of one frame is explicitly set through the document.domain accessor from the main world, the security tokens of all the isolated worlds associated with that frame are also updated.
BUG=529682
Committed: https://crrev.com/cf073253ae5c3e2f12166977eeddec1a1bcc016d
git-svn-id: svn://svn.chromium.org/blink/trunk@202267 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Patch Set 1 #
Total comments: 2
Patch Set 2 : Added layout test. #
Total comments: 2
Patch Set 3 : Update. #Patch Set 4 : Update #
Total comments: 10
Patch Set 5 : Update #Patch Set 6 : Update #Patch Set 7 : Update #Messages
Total messages: 30 (6 generated)
|