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

Unified Diff: LayoutTests/svg/as-image/image-respects-pageScaleFactor-change.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
« no previous file with comments | « LayoutTests/svg/as-image/image-respects-pageScaleFactor.html ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/as-image/image-respects-pageScaleFactor-change.html
diff --git a/LayoutTests/svg/as-image/image-respects-pageScaleFactor-change.html b/LayoutTests/svg/as-image/image-respects-pageScaleFactor-change.html
index d4f31638b8048de3c6cde250b2c3f53a4ac230d2..0ce5f1ad266eb65013be43a108d55215f98b65ed 100644
--- a/LayoutTests/svg/as-image/image-respects-pageScaleFactor-change.html
+++ b/LayoutTests/svg/as-image/image-respects-pageScaleFactor-change.html
@@ -7,16 +7,16 @@
}
function load() {
- if (!window.internals)
+ if (!window.eventSender)
return;
- window.internals.setPageScaleFactor(2, 0, 0);
+ window.eventSender.setPageScaleFactor(2, 0, 0);
setTimeout(increasePageScale, 0);
}
function increasePageScale() {
- window.internals.setPageScaleFactor(4, 0, 0);
+ window.eventSender.setPageScaleFactor(4, 0, 0);
if (window.testRunner)
testRunner.notifyDone();
« no previous file with comments | « LayoutTests/svg/as-image/image-respects-pageScaleFactor.html ('k') | Source/core/testing/Internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698