OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/ui/browser_commands.h" | |
6 #include "chrome/browser/ui/webui/options/options_ui_browsertest.h" | |
7 | |
8 typedef options::OptionsUIBrowserTest ContentSettingsExceptionsAreaBrowserTest; | |
9 | |
10 // Test that an incognito window can be opened while the exceptions page is | |
11 // open. If this test fails it could indicate that a new content setting has | |
12 // been added but is not being dealt with correctly by the content settings | |
13 // handling WebUI code. | |
14 #if defined(OS_MACOSX) && defined(ADDRESS_SANITIZER) | |
15 // Flaky on ASAN on Mac. See https://crbug.com/674497. | |
16 #define MAYBE_OpenIncognitoWindow DISABLED_OpenIncognitoWindow | |
17 #else | |
18 #define MAYBE_OpenIncognitoWindow OpenIncognitoWindow | |
19 #endif | |
20 IN_PROC_BROWSER_TEST_F(ContentSettingsExceptionsAreaBrowserTest, | |
21 MAYBE_OpenIncognitoWindow) { | |
22 NavigateToSettingsSubpage("contentExceptions"); | |
23 chrome::NewIncognitoWindow(browser()); | |
24 } | |
OLD | NEW |