| Summary: | [Mac WK2] REGRESSION (r244182) editing/execCommand/change-list-type.html is a flaky failure | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Shawn Roberts <sroberts> | ||||
| Component: | Tools / Tests | Assignee: | Ryosuke Niwa <rniwa> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | lforschler, rniwa, sabouhallawa, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=177484 https://bugs.webkit.org/show_bug.cgi?id=196985 |
||||||
| Attachments: |
|
||||||
|
Description
Shawn Roberts
2019-04-18 11:15:52 PDT
Created attachment 367815 [details]
Fixes the test
Committed r244462: <https://trac.webkit.org/changeset/244462> Comment on attachment 367815 [details] Fixes the test View in context: https://bugs.webkit.org/attachment.cgi?id=367815&action=review > LayoutTests/editing/execCommand/change-list-type.html:74 > + testRunner.runUIScript(`(function() { uiController.uiScriptComplete(); })()`, resolve); Wouldn't doAfterPresentationUpdate() have been better? (In reply to Simon Fraser (smfr) from comment #5) > Comment on attachment 367815 [details] > Fixes the test > > View in context: > https://bugs.webkit.org/attachment.cgi?id=367815&action=review > > > LayoutTests/editing/execCommand/change-list-type.html:74 > > + testRunner.runUIScript(`(function() { uiController.uiScriptComplete(); })()`, resolve); > > Wouldn't doAfterPresentationUpdate() have been better? I wouldn't think this needs to wait for the next layer tree flush; it simply needs to ensure that the current runloop in the UI process has finished. Looks like the flakiness is gone! |