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

Unified Diff: LayoutTests/fast/events/resize-events.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/events/resize-events.html
diff --git a/LayoutTests/fast/events/resize-events.html b/LayoutTests/fast/events/resize-events.html
index 197f33d3132ab28da134ec851650de6842056991..c5ca3d110d8b44e480b30c6d210085d225909f8d 100644
--- a/LayoutTests/fast/events/resize-events.html
+++ b/LayoutTests/fast/events/resize-events.html
@@ -39,8 +39,8 @@
setTimeout(scalePage, 20);
}
function scalePage() {
- if (window.internals)
- window.internals.setPageScaleFactor(3, 0, 0);
+ if (window.eventSender)
+ window.eventSender.setPageScaleFactor(3, 0, 0);
setTimeout(changeFixedLayoutSize, 20);
}
function changeFixedLayoutSize() {
@@ -57,4 +57,4 @@
window.onload = test;
</script>
</body>
-</html>
+</html>
« no previous file with comments | « LayoutTests/fast/dom/zoom-scroll-page-test.html ('k') | LayoutTests/fast/events/resize-events-fixed-layout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698