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

Unified Diff: LayoutTests/fast/dom/zoom-scroll-page-test.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: Remove internals.setPageScaleFactor, rename eventSender.scalePageBy. Created 7 years, 5 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/zoom-scroll-page-test.html
diff --git a/LayoutTests/fast/dom/zoom-scroll-page-test.html b/LayoutTests/fast/dom/zoom-scroll-page-test.html
index 43298424e8fcb170f7f682490ef81497b17d0c13..d87d6b3194e2d17611f06cb1fb625d35ddf56f7c 100644
--- a/LayoutTests/fast/dom/zoom-scroll-page-test.html
+++ b/LayoutTests/fast/dom/zoom-scroll-page-test.html
@@ -23,7 +23,7 @@
debug('Testing at zoom ' + zoomFactor + ' and scale ' + scaleFactor);
if (window.testRunner && window.eventSender) {
var y = 221;
- eventSender.scalePageBy(scaleFactor, 0, 0);
+ eventSender.setPageScaleFactor(scaleFactor, 0, 0);
zoomBy(zoomFactor);
window.scrollTo(10, 10);
window.scrollBy(0, y);

Powered by Google App Engine
This is Rietveld 408576698