De-flake VisualPropertiesPropagation_VisibleViewportSize test
The test watches for IPC messages sent to a process, but if multiple frames/widgets end up sharing a process it can see messages it didn't intend to watch. So we ensure we're watching messages only to the intended frame tree, and since each frame has a unique size this is sufficient to also watch only the intended frame+widget. The watcher causes the RunLoop to exit when it sees the value it was looking for, but then another message may happen before it finishes exiting which replaces the value. R=avi@chromium.org, wjmaclean@chromium.org Bug: 1061934 Change-Id: I89abce4aece1dedea267e732619cc2c5db159460 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2106116 Commit-Queue: danakj <danakj@chromium.org> Auto-Submit: danakj <danakj@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
James MacLean <wjmaclean@chromium.org> Cr-Commit-Position: refs/heads/master@{#751004}
Showing
Please register or sign in to comment