Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1068)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/filesystem-iframe-from-remote.html

Issue 2842253002: Move ReportLocalLoadFailed to ExecutionContext (Closed)
Patch Set: Revert ResourceLoader changes, handle main resource redirect in DocumentLoader Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.";

Powered by Google App Engine
This is Rietveld 408576698