Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Side by Side Diff: chrome/browser/ui/webui/options/content_settings_exception_area_browsertest.cc

Issue 2913343002: Start removing deprecated Options UI code (Closed)
Patch Set: thestig@ review Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698