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 915102948d8251d2f6a80673b9c5daf47e590ea2..283c590be9c5312296756203310d1f3c475874be 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
@@ -354,6 +354,14 @@ void V8Window::namedPropertyGetterCustom( |
v8SetReturnValueFast(info, child->domWindow(), window); |
return; |
} |
+ |
+ // In addition to the above spec'ed case, we return the child window |
+ // regardless of step 3 due to crbug.com/701489 for the time being. |
+ // TODO(yukishiino): Makes iframe.name update the browsing context name |
+ // appropriately and makes the new name available in the named access on |
+ // window. Then, removes the following two lines. |
+ v8SetReturnValueFast(info, child->domWindow(), window); |
+ return; |
} |
// This is a cross-origin interceptor. Check that the caller has access to the |