[Webkit-unassigned] [Bug 6905] DumpRenderTree needs a way to force painting (to allow invalidation tests)

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Apr 22 01:32:44 PDT 2006


------- Comment #4 from opendarwin.org at mitzpettel.com  2006-04-22 01:32 PDT -------
(In reply to comment #3)
> (From update of attachment 7850 [edit])
> To be more clear what I mean about that, I think eventually we want to come up
> with a testing approach that detects if we repaint too much as well as
> something that detects when we repaint too little.

Something like

- (void)display
    NSView *webView = [frame webView];
    [webView display];
    [webView lockFocus];
    [[NSColor blackColor] set];
    NSRectFill([webView frame]);
    [webView unlockFocus];
    readFromWindow = YES;

Will let you see exactly what was repainted (except if it was black).

Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list