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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote.html

Issue 2395313002: Revert of Make ResourceFetcher return Resources with LoadError instead of nullptrs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 2 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/local-image-from-remote.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote.html b/third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote.html
index 09565119e704d29f8cd3ba0f341f5a2d9245f105..675e1599b6f2939541155173998f441cd4840d2a 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/local-image-from-remote.html
@@ -19,7 +19,7 @@
var result = document.getElementById("result");
var myImg = document.getElementById("myImg");
- if (myImg.naturalWidth == 0 && myImg.naturalHeight == 0)
+ if (myImg.height == 0 && myImg.width == 0)
result.innerHTML = "Test Passed. Local image not loaded remotely.";
else
result.innerHTML = "Test Failed: Local image loaded remotely.";

Powered by Google App Engine
This is Rietveld 408576698