RESOLVED FIXED Bug 127606
Create some latched scrolling tests
https://bugs.webkit.org/show_bug.cgi?id=127606
Summary Create some latched scrolling tests
Brent Fulgham
Reported 2014-01-24 20:30:55 PST
Our current test infrastructure doesn't guard against changes in latching behavior. Extend the test system to cover this region of the system.
Attachments
Patch (159.94 KB, patch)
2014-02-13 14:29 PST, Brent Fulgham
no flags
Patch (160.06 KB, patch)
2014-02-13 18:02 PST, Brent Fulgham
no flags
Patch (159.98 KB, patch)
2014-02-13 20:02 PST, Brent Fulgham
no flags
Patch (160.17 KB, patch)
2014-02-13 20:09 PST, Brent Fulgham
bdakin: review+
Radar WebKit Bug Importer
Comment 1 2014-01-26 13:47:42 PST
Brent Fulgham
Comment 2 2014-02-13 14:15:11 PST
Extend the test system EventSender with a new method to send wheel events (including momentum phase). Also create a new set of tests that use this feature.
Brent Fulgham
Comment 3 2014-02-13 14:29:11 PST
Brent Fulgham
Comment 4 2014-02-13 16:13:07 PST
The #defines for wheel event symbol were not included in CGEventTypes.h as API until 10.9. I'll just provide equivalent definitions for OS 10.8 and prior, which we can remove once we stop supporting that build.
Brent Fulgham
Comment 5 2014-02-13 16:16:29 PST
On second thought, since I already use the ordinals in the WK2 handler (to avoid pulling in a bunch of Cocoa headers), I'll just use the same implementation in the WK1 handler and avoid the issue altogether.
Brent Fulgham
Comment 6 2014-02-13 16:17:48 PST
WebKit Commit Bot
Comment 7 2014-02-13 17:36:16 PST
Re-opened since this is blocked by bug 128781
Brent Fulgham
Comment 8 2014-02-13 18:02:45 PST
Brent Fulgham
Comment 9 2014-02-13 20:02:24 PST
Brent Fulgham
Comment 10 2014-02-13 20:09:05 PST
Brent Fulgham
Comment 11 2014-02-14 10:02:07 PST
Ryosuke Niwa
Comment 12 2014-02-15 00:14:36 PST
This patch caused a fatal CQ failure because CQ bots had 10.9 SDK installed, which meant that kCGScrollWheelEventMomentumPhase was defined in headers. Used MAC_OS_X_VERSION_MAX_ALLOWED instead of work around this in http://trac.webkit.org/changeset/164159
Brent Fulgham
Comment 13 2014-02-15 10:58:02 PST
(In reply to comment #12) > This patch caused a fatal CQ failure because CQ bots had 10.9 SDK installed, which meant that kCGScrollWheelEventMomentumPhase was defined in headers. > > Used MAC_OS_X_VERSION_MAX_ALLOWED instead of work around this in http://trac.webkit.org/changeset/164159 Thank you for tracking this down. Sorry for the inconvenience. :(
Alexey Proskuryakov
Comment 14 2014-05-19 10:54:17 PDT
These tests fail on WebKit2 bots: http://build.webkit.org/results/Apple%20Mavericks%20Debug%20WK2%20(Tests)/r169047%20(4750)/results.html This is not reported correctly, because the tests fail on first try, and then can't find pixel results on retry. The reason why it tries pixel tests is that there is a call to testRunner.dumpAsText(true) instead of testRunner.dumpAsText(). "true" is a crazy option that means that we'll dump as text, but then make pixel results too.
Simon Fraser (smfr)
Comment 15 2014-05-19 11:10:49 PDT
Some of these fail because of zalan's offsetWidth changes.
Note You need to log in before you can comment on or make changes to this bug.