| Index: third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
|
| index 5ad6f3a364b649147e4f84259d33fdde23f3c3fd..2ee42f3d64356790b065e25232b833ba4e7ad9f8 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp
|
| @@ -93,6 +93,8 @@ void HTMLFrameElementBase::openURL(bool replaceCurrentItem)
|
| return;
|
| if (!contentFrame() || scriptURL.isEmpty() || !contentFrame()->isLocalFrame())
|
| return;
|
| + if (contentFrame()->owner()->getSandboxFlags() & SandboxOrigin)
|
| + return;
|
| toLocalFrame(contentFrame())->script().executeScriptIfJavaScriptURL(scriptURL);
|
| }
|
|
|
|
|