Bug 114219 - window.internals.repaintRectsAsText() is hard to use because it doesn't force layout
Summary: window.internals.repaintRectsAsText() is hard to use because it doesn't force...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-08 15:17 PDT by Simon Fraser (smfr)
Modified: 2013-04-09 13:51 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.08 KB, patch)
2013-04-08 15:20 PDT, Simon Fraser (smfr)
bdakin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2013-04-08 15:17:10 PDT
It's hard to use window.internals.repaintRectsAsText() in a test, because you don't know whether the repaints happened yet or not. I think window.internals.repaintRectsAsText() should force layout to get around this.
Comment 1 Simon Fraser (smfr) 2013-04-08 15:20:49 PDT
Created attachment 196960 [details]
Patch
Comment 2 Simon Fraser (smfr) 2013-04-09 13:51:58 PDT
https://trac.webkit.org/r148048