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."; |