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.
5 #include "chrome/browser/ui/browser_commands.h"
6 #include "chrome/browser/ui/webui/options/options_ui_browsertest.h"
8 typedef options::OptionsUIBrowserTest ContentSettingsExceptionsAreaBrowserTest
;
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 IN_PROC_BROWSER_TEST_F(ContentSettingsExceptionsAreaBrowserTest
,
15 OpenIncognitoWindow
) {
16 NavigateToSettingsSubpage("contentExceptions");
17 chrome::NewIncognitoWindow(browser());