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

Unified Diff: LayoutTests/fast/frames/frame-set-scaling-hit.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/frames/frame-set-scaling-hit.html
diff --git a/LayoutTests/fast/frames/frame-set-scaling-hit.html b/LayoutTests/fast/frames/frame-set-scaling-hit.html
index 5e28efeb94127863fe92a8384f616f00e36f2b8e..7be4730f27aa2abef99a17abe9125498bd935866 100644
--- a/LayoutTests/fast/frames/frame-set-scaling-hit.html
+++ b/LayoutTests/fast/frames/frame-set-scaling-hit.html
@@ -4,12 +4,12 @@
<script>
function init() {
- if (!window.eventSender || !window.internals)
+ if (!window.eventSender)
return;
// Scale the page and resize the frames to verify hit testing on the frameset
var leftPanelWidth = window.innerWidth / 8;
var panelHeight = window.innerHeight / 2;
- window.internals.setPageScaleFactor(0.5, 0, 0);
+ eventSender.setPageScaleFactor(0.5, 0, 0);
eventSender.mouseMoveTo(leftPanelWidth, panelHeight / 2);
eventSender.mouseDown();
eventSender.mouseMoveTo(2 * leftPanelWidth, panelHeight / 2);
« no previous file with comments | « LayoutTests/fast/frames/frame-set-rotation-hit.html ('k') | LayoutTests/fast/frames/iframe-double-scale-contents.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698