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

Unified Diff: LayoutTests/fast/dom/window-scroll-scaling.html

Issue 18546003: Fix tests to avoid page scale reset when setting page scale. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use setPageScaleFactorLimits(). Created 7 years, 4 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: LayoutTests/fast/dom/window-scroll-scaling.html
diff --git a/LayoutTests/fast/dom/window-scroll-scaling.html b/LayoutTests/fast/dom/window-scroll-scaling.html
index f3ea59312e3c5009704670e268b7912a9bb70880..6e810aee473d7316ecbf9f267b608dce54a632dc 100644
--- a/LayoutTests/fast/dom/window-scroll-scaling.html
+++ b/LayoutTests/fast/dom/window-scroll-scaling.html
@@ -23,8 +23,8 @@
var originalScrollHeight = body.scrollHeight;
var scale = 1.1;
- if (window.internals)
- window.internals.setPageScaleFactor(scale, 0, 0);
+ if (window.eventSender)
+ window.eventSender.setPageScaleFactor(scale, 0, 0);
// As we have increased the scale factor, the innerWidth will be less
// as fewer CSS pixels will be rendered in the same viewport, so
« no previous file with comments | « LayoutTests/fast/dom/window-inner-size-scaling.html ('k') | LayoutTests/fast/dom/zoom-scroll-page-test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698