Bug 140726

Summary: [Win] eventSender does not support scalePageBy
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Tools / TestsAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
Patch dino: review+

Description Brent Fulgham 2015-01-21 08:54:31 PST
We need to implement zoomPageIn and zoomPageOut in DRT to support tests:

fast/dom/zoom-scroll-page-test.html
Comment 1 Brent Fulgham 2015-01-21 09:27:38 PST
Actually, the missing function is 'scalePageBy', which causes the test to fail before we even hit the (existing) zoomPageIn/zoomPageOut.
Comment 2 Radar WebKit Bug Importer 2015-01-21 10:20:20 PST
<rdar://problem/19549865>
Comment 3 Brent Fulgham 2015-01-21 10:28:58 PST
Created attachment 245068 [details]
Patch
Comment 4 Brent Fulgham 2015-01-21 10:31:18 PST
Comment on attachment 245068 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=245068&action=review

> Tools/DumpRenderTree/win/EventSender.cpp:763
> +

I should be checking that argumentCount >= 3 so we don't crash.
Comment 5 Brent Fulgham 2015-01-21 10:37:40 PST
These tests also pass now:

fast/repaint/fixed-in-page-scale.html
fast/repaint/fixed-right-bottom-in-page-scale.html
fast/repaint/fixed-right-in-page-scale.html
Comment 6 Brent Fulgham 2015-01-21 10:53:11 PST
Also:

fast/css/sticky/sticky-top-zoomed.html
compositing/tiling/tile-cache-zoomed.html:
Comment 7 Brent Fulgham 2015-01-21 10:59:01 PST
Committed r178849: <http://trac.webkit.org/changeset/178849>