Bug 44187 - Extend the layoutTestController to support dumping HostWindow methods to log invalidations
Summary: Extend the layoutTestController to support dumping HostWindow methods to log ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Darin Fisher (:fishd, Google)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 10:53 PDT by Darin Fisher (:fishd, Google)
Modified: 2010-08-18 10:54 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Fisher (:fishd, Google) 2010-08-18 10:53:04 PDT
Following on from bug 42949, there should be a way to write a layout test
that can verify that the correct invalidation is generated after scrolling
a page containing fixed position elements.

The repaint test framework is not a great option since the actual repainting
done is fairly platform specific.  For example, some platforms will coalesce
invalidations into a smaller set of invalidations.  Or, if scrolling overlaps
with invalidation, some platforms may combine those operations in distinct ways.

Instead, it seems like it would be useful to have a way to log HostWindow methods
like invalidateContentsAndWindow, invalidateContentsForSlowScroll, and scroll.