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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/resources/frame-loading-via-document-write.js

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/resources/frame-loading-via-document-write.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/resources/frame-loading-via-document-write.js b/third_party/WebKit/LayoutTests/fast/dom/resources/frame-loading-via-document-write.js
index 4d8034d74ffae3a4a4012ddb77e01ebc38cb3fa6..3a7a22776006b6974fe2bdb4f19249f52e842b93 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/resources/frame-loading-via-document-write.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/resources/frame-loading-via-document-write.js
@@ -10,7 +10,7 @@
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.";
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698