Make the context menu test more resilient against clicking on text.
If the right click happens on top of text, then on Mac the text will become selected before showing the context menu, leading to different context menu items being shown. This CL starts to use an empty subframe to avoid this problem. This helps enable the test on Mac platform. Bug: 1090891 Change-Id: Ie4f78aa6adaa36d970e0f538fc80f28b09eb0592 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2229658 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by:Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#776371}
Showing
Please register or sign in to comment