REGRESSION: (r244182) Layout Test editing/execCommand/insert-nested-lists.html is...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Apr 2019 19:33:23 +0000 (19:33 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Apr 2019 19:33:23 +0000 (19:33 +0000)
commita0c5e0b4e5158cdcea89e6d4efdbe96189bedaf8
tree356d0fa029a43b8e9d123f5e9a8f1bc9bdbc081a
parent273b065e8cfbfa30eca2d01ecfe45f40c017ada9
REGRESSION: (r244182) Layout Test editing/execCommand/insert-nested-lists.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=196985

Reviewed by Wenson Hsieh.

The flakiness was caused by the test incorrectly assuming that rAF would
be enough to close the undo group in the UI process.

Fixed the test by explicitly waiting for the runloop in the ui process to run
by executing a UI script.

* editing/execCommand/insert-nested-lists.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/editing/execCommand/insert-nested-lists.html