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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/resources/frame-loading-via-document-write.js

Issue 2399243002: Revert of Make ResourceFetcher return Resources with LoadError instead of nullptrs. (patchset #8 id… (Closed)
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/resources/frame-loading-via-document-write.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/frame-loading-via-document-write.js b/third_party/WebKit/LayoutTests/http/tests/security/resources/frame-loading-via-document-write.js
index 24785f7acb9bcbdb7a705178d4a89a3e9175d320..883c02f31d345daf8e499848bcb6a049db00fe81 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/resources/frame-loading-via-document-write.js
+++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/frame-loading-via-document-write.js
@@ -10,7 +10,7 @@ function didImageLoad()
var result = document.getElementById("result");
var myImg = document.getElementById("myImg");
- if (myImg.naturalHeight == 0 && myImg.naturalWidth == 0) {
+ if (myImg.height == 0 && myImg.width == 0) {
result.innerHTML = "Image NOT loaded.";
} else {
result.innerHTML = "Image loaded.";

Powered by Google App Engine
This is Rietveld 408576698