| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| index 4725c465cadedac1acd56151d22cfb18d2c251b2..28ab101a3466e84e954595e2a40c3f7b9a4020c5 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| @@ -244,6 +244,16 @@ void V8Window::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| if (!openedWindow)
|
| return;
|
|
|
| + if (openedWindow->isLocalDOMWindow()) {
|
| + LocalFrame* targetFrame = toLocalDOMWindow(openedWindow)->frame();
|
| + if (targetFrame) {
|
| + // Notify the loader's client if the initial document has been accessed.
|
| + if (targetFrame->loader().stateMachine()->isDisplayingInitialEmptyDocument()) {
|
| + targetFrame->loader().didAccessInitialDocument();
|
| + }
|
| + }
|
| + }
|
| +
|
| v8SetReturnValueFast(info, openedWindow, impl);
|
| }
|
|
|
|
|