Fix GlobalKeyboardShortcutsTest on Cocoa.
The tests were added when interactive_ui_tests were only being run on Views code. Subsequently, when interactive_ui_tests was switched to Cocoa code, the tests failed. There were two test bugs: * In Cocoa, using Cmd+2 to select the second tab is asynchronous, but the test was not waiting. * The test was dispatching events by sending them directly to the NSWindow. This is incorrect - the events should be sent to NSApp. Bug: 852064 Change-Id: I4cf73724954a90edcfe4dd5a0f4a56fcd13df4a2 Reviewed-on: https://chromium-review.googlesource.com/1097847Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#566628}
Showing
Please register or sign in to comment