| Index: third_party/WebKit/Source/core/frame/Frame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/Frame.cpp b/third_party/WebKit/Source/core/frame/Frame.cpp
|
| index dd7e0fe5d0b4500012adc2eb8da6250bf0d5092b..4b1277762841a8e6c20272a23a96bcb261d2a631 100644
|
| --- a/third_party/WebKit/Source/core/frame/Frame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/Frame.cpp
|
| @@ -289,11 +289,10 @@ bool Frame::canNavigateWithoutFramebusting(const Frame& targetFrame,
|
| if (securityContext()->isSandboxed(SandboxTopNavigation) &&
|
| securityContext()->isSandboxed(
|
| SandboxTopNavigationByUserActivation)) {
|
| - // TODO(binlu): To add "or 'allow-top-navigation-by-user-activation'"
|
| - // to the reason below, once the new flag is shipped.
|
| reason =
|
| "The frame attempting navigation of the top-level window is "
|
| - "sandboxed, but the 'allow-top-navigation' flag is not set.";
|
| + "sandboxed, but the flag of 'allow-top-navigation' or "
|
| + "'allow-top-navigation-by-user-activation' is not set.";
|
| return false;
|
| }
|
| if (securityContext()->isSandboxed(SandboxTopNavigation) &&
|
|
|