| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| index 455246e40e18ec3bbc57456cb5c97b84a929fba1..d8ee90b46b59e6e735ddba158c43d7042137db26 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -756,6 +756,10 @@ EphemeralRange LocalFrame::rangeForPoint(const IntPoint& framePoint)
|
|
|
| bool LocalFrame::isURLAllowed(const KURL& url) const
|
| {
|
| + // Exempt about: URLs from self-reference check.
|
| + if (url.protocolIsAbout())
|
| + return true;
|
| +
|
| // We allow one level of self-reference because some sites depend on that,
|
| // but we don't allow more than one.
|
| bool foundSelfReference = false;
|
|
|