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

Unified Diff: third_party/WebKit/LayoutTests/fast/hidpi/resources/srcset-helper.js

Issue 2085153002: Adjust test expectations for infinite-size images. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: small refactor Created 4 years, 6 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 | « third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/hidpi/resources/srcset-helper.js
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/resources/srcset-helper.js b/third_party/WebKit/LayoutTests/fast/hidpi/resources/srcset-helper.js
index ca2911f3fa84e5518b5e31bd96bf366f59df5c75..025b07fd33c04c2cd0bc17ac774642f7c8b1e239 100644
--- a/third_party/WebKit/LayoutTests/fast/hidpi/resources/srcset-helper.js
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/resources/srcset-helper.js
@@ -26,8 +26,9 @@ function runTest() {
}
}
-function scaleFactorIsSet() {
+function scaleFactorIsSet(useZoomForDsfEnabled) {
sessionStorage.scaleFactorIsSet = true;
+ sessionStorage.useZoomForDsfEnabled = useZoomForDsfEnabled;
}
window.addEventListener("load", runTest, false);
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-intrinsic-size-zero.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698