| Index: third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp b/third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp
|
| index ba4232ef62ab4ba376ffb57b022cecbe8d6932a5..aeef8217f0134e24772c6491660eb6f7c1c6158c 100644
|
| --- a/third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/DOMWindowTimers.cpp
|
| @@ -49,6 +49,8 @@ static bool isAllowed(ScriptState* scriptState,
|
| bool isEval) {
|
| if (executionContext->isDocument()) {
|
| Document* document = static_cast<Document*>(executionContext);
|
| + if (!document->frame())
|
| + return false;
|
| if (isEval &&
|
| !document->contentSecurityPolicy()->allowEval(
|
| scriptState, ContentSecurityPolicy::SendReport,
|
|
|