| Index: third_party/WebKit/LayoutTests/http/tests/security/filesystem-iframe-from-remote.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/filesystem-iframe-from-remote.html b/third_party/WebKit/LayoutTests/http/tests/security/filesystem-iframe-from-remote.html
|
| index 6c1dbfab8a0adca63fc8d2b59d98b4468967de08..7bb7dbde70d7c3e540110828358ceabe81a0f28a 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/filesystem-iframe-from-remote.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/filesystem-iframe-from-remote.html
|
| @@ -8,8 +8,8 @@
|
| document.body.appendChild(localIframeElement);
|
|
|
| var result = document.getElementById("result");
|
| - var myFrameDocument = document.getElementById("myFrame").contentDocument;
|
| - if (myFrameDocument)
|
| + 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.";
|
|
|