Add cross-site tab capture test, and fix an OnFrameDamaged() assumption.
Adds a browser test to confirm that tab capture grabs all content and content updates when cross-site render process isolation is turned on. The addition of this test revealed a pre-existing bug where the consumer would not get a video frame for updated content. This happened whenever OnFrameDamaged() was being called before OnBeginFrame() (which can happen when Surfaces are changed). Bug: 808718 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_mojo Change-Id: Ic965ece20d4c40eb65cdb78452148283935e5184 Reviewed-on: https://chromium-review.googlesource.com/936661Reviewed-by:Xiangjun Zhang <xjz@chromium.org> Commit-Queue: Yuri Wiitala <miu@chromium.org> Cr-Commit-Position: refs/heads/master@{#539806}
Showing
This diff is collapsed.
Please register or sign in to comment