Descriptionozone/platform/wayland: Use more realistic event processing and request flushing in tests
Now, we use a MessageLoop and wait for idle to determine when the client has
processed pending events.
This uncovered a number of situations where Wayland platform was not flushing
the connection. To resolve this, add a ScheduleFlush method to flush at some
later time, and call it when we send requests.
BUG=578890
Committed: https://crrev.com/5fb40e71b18c6c32dce4451821c7866fe80ea5e9
Cr-Commit-Position: refs/heads/master@{#380419}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use watching_ instead of base::MessageLoopForUI::IsCurrent() #Depends on Patchset: Messages
Total messages: 12 (3 generated)
|