| Index: third_party/WebKit/LayoutTests/http/tests/security/local-iFrame-from-remote.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/local-iFrame-from-remote.html b/third_party/WebKit/LayoutTests/http/tests/security/local-iFrame-from-remote.html
|
| index e8c82086a31527649b5a13213c94949070dffc8b..5e7d2c0a9f729bee809f57bfdea2d8bc5807df89 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/local-iFrame-from-remote.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/local-iFrame-from-remote.html
|
| @@ -16,8 +16,8 @@
|
| document.body.appendChild(localIframeElement);
|
|
|
| var result = document.getElementById("result");
|
| - var myFrameDocument = document.getElementById("myFrame").contentDocument;
|
| - if (myFrameDocument !== null)
|
| + var frameWindow = document.getElementById("myFrame").contentWindow;
|
| + if (frameWindow && frameWindow.location != "about:blank")
|
| result.innerHTML = "Test Failed: Local page remotely loaded into iFrame.";
|
| else
|
| result.innerHTML = "Test Passed. Local page not remotely loaded into iFrame.";
|
|
|