DescriptionFix flaky test: Enable RenderWidgetHostViewBrowserTest.CopyFromBackingStore.
Added a spin-wait to cause the test to wait for the browser to create the BackingStore via its normal mechanism.
...and then I went ahead and refactored and cleaned up all the code. I did not add any significant additional testing. We will want to do this in a follow-up change. However, I did get rid of the #ifdef OS_XXX pragmas, so the tests will attempt to run on all platforms, not just Mac and Win, and use the CanXXX() methods to determine which features are supported for testing.
BUG=224351
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200226
Patch Set 1 : #
Total comments: 3
Patch Set 2 : Refactor/cleanup render_widget_host_view_browsertest.cc. #Patch Set 3 : More clean-up. Fixes for Aura. Disabled tests for Android and IOS platforms. #
Total comments: 8
Patch Set 4 : kbr@'s suggestions applied. #Patch Set 5 : Wait for first present. Force-succeed some tests for platforms that must/cannot do compositing. #
Total comments: 2
Patch Set 6 : Improve comment regarding compositing mode maybe being tested. #
Messages
Total messages: 17 (0 generated)
|