Commit ad05d4a4 authored by Tatiana Gornak's avatar Tatiana Gornak Committed by Commit Bot

Disable flacky GlobalKeyboardShortcutsTest.SwitchTabsMac on Mac

TBR=avi@chromium.org

Bug: 852232
Change-Id: I45351c0c7f919a28d75a481bd1130d6682435a6b
Reviewed-on: https://chromium-review.googlesource.com/1098667Reviewed-by: default avatarTatiana Gornak <melandory@chromium.org>
Commit-Queue: Tatiana Gornak <melandory@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566783}
parent f011c800
......@@ -7,6 +7,7 @@
#import <Cocoa/Cocoa.h>
#include "base/run_loop.h"
#include "build/build_config.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/ui/browser.h"
......@@ -48,6 +49,12 @@ void SendEvent(NSEvent* ns_event) {
} // namespace
// Test that global keyboard shortcuts are handled by the native window.
// https://crbug.com/852232
#if defined(OS_MACOSX)
#define MAYBE_SwitchTabsMac DISABLED_SwitchTabsMac
#else
#define MAYBE_SwitchTabsMac
#endif
IN_PROC_BROWSER_TEST_F(GlobalKeyboardShortcutsTest, SwitchTabsMac) {
NSWindow* ns_window = browser()->window()->GetNativeWindow();
TabStripModel* tab_strip = browser()->tab_strip_model();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment