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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html

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/misc/image-blocked-src-change.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html b/third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html
index 8a6bd8c108f0bdd9f1b69d782dc24625b5b00303..9e5a01739e57f730348e6550e79dad44592c20c3 100644
--- a/third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/image-blocked-src-change.html
@@ -6,7 +6,7 @@
var console = document.getElementById('console');
var image = document.getElementById('image');
- if (image.naturalHeight && image.naturalWidth)
+ if (image.height && image.width)
console.innerHTML = "PASSED";
else
console.innerHTML = "FAILED";
@@ -23,7 +23,7 @@
}
var image = document.getElementById('image');
- if (image.naturalHeight || image.naturalWidth) {
+ if (image.height || image.width) {
console.innerHTML = "FAILED";
return;
}

Powered by Google App Engine
This is Rietveld 408576698