Bug 171641 - Rename testRunner.display() to testRunner.displayAndTrackRepaints()
Summary: Rename testRunner.display() to testRunner.displayAndTrackRepaints()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords:
Depends on:
Blocks: 171634
  Show dependency treegraph
 
Reported: 2017-05-03 18:03 PDT by Said Abou-Hallawa
Modified: 2017-05-04 14:46 PDT (History)
4 users (show)

See Also:


Attachments
Patch (118.45 KB, patch)
2017-05-03 18:28 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (118.42 KB, patch)
2017-05-03 18:42 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (118.56 KB, patch)
2017-05-04 08:29 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (118.50 KB, patch)
2017-05-04 08:36 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (118.45 KB, patch)
2017-05-04 08:53 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (117.36 KB, patch)
2017-05-04 09:10 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (116.63 KB, patch)
2017-05-04 09:14 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (117.43 KB, patch)
2017-05-04 11:17 PDT, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 2017-05-03 18:03:18 PDT
The plan is to add back the TestRunner.display() which does the display only with the track repaints.
Comment 1 Said Abou-Hallawa 2017-05-03 18:28:04 PDT
Created attachment 308999 [details]
Patch
Comment 2 Said Abou-Hallawa 2017-05-03 18:42:25 PDT
Created attachment 309000 [details]
Patch
Comment 3 Said Abou-Hallawa 2017-05-04 08:29:40 PDT
Created attachment 309047 [details]
Patch
Comment 4 Said Abou-Hallawa 2017-05-04 08:36:09 PDT
Created attachment 309048 [details]
Patch
Comment 5 Said Abou-Hallawa 2017-05-04 08:53:36 PDT
Created attachment 309052 [details]
Patch
Comment 6 Said Abou-Hallawa 2017-05-04 09:10:47 PDT
Created attachment 309053 [details]
Patch
Comment 7 Said Abou-Hallawa 2017-05-04 09:14:00 PDT
Created attachment 309054 [details]
Patch
Comment 8 Said Abou-Hallawa 2017-05-04 11:17:47 PDT
Created attachment 309067 [details]
Patch
Comment 9 Simon Fraser (smfr) 2017-05-04 14:02:42 PDT
Comment on attachment 309067 [details]
Patch

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

> Tools/DumpRenderTree/TestRunner.h:-73
> -    void displayInvalidatedRegion();

What happened to displayInvalidatedRegion()? Is it unused?
Comment 10 Said Abou-Hallawa 2017-05-04 14:17:14 PDT
Comment on attachment 309067 [details]
Patch

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

>> Tools/DumpRenderTree/TestRunner.h:-73
>> -    void displayInvalidatedRegion();
> 
> What happened to displayInvalidatedRegion()? Is it unused?

This function is weird. Its callback displayInvalidatedRegionCallback() is just a copy of displayCallback() and this is the case since it was initially created in https://trac.webkit.org/changeset/78010/webkit. 

It is used in two tests and both of them do not work reliably on all platforms:

(1) compositing/plugins/invalidate_rect.html:
    LayoutTests//platform/mac/TestExpectations:webkit.org/b/114321 compositing/plugins/invalidate_rect.html [ Failure Pass ]
    LayoutTests//platform/wk2/TestExpectations:compositing/plugins/invalidate_rect.html

(2) plugins/windowless_plugin_paint_test.html
    LayoutTests//platform/win/TestExpectations:webkit.org/b/57693 plugins/windowless_plugin_paint_test.html [ Skip ]
    LayoutTests//platform/wk2/TestExpectations:plugins/windowless_plugin_paint_test.html
Comment 11 WebKit Commit Bot 2017-05-04 14:46:44 PDT
Comment on attachment 309067 [details]
Patch

Clearing flags on attachment: 309067

Committed r216211: <http://trac.webkit.org/changeset/216211>
Comment 12 WebKit Commit Bot 2017-05-04 14:46:46 PDT
All reviewed patches have been landed.  Closing bug.