summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/options/content_settings_exception_area_browsertest.cc
blob: 98ad91aeb006a10b0a9b4fe528c1cce831e72e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/webui/options/options_ui_browsertest.h"

typedef options::OptionsUIBrowserTest ContentSettingsExceptionsAreaBrowserTest;

// Test that an incognito window can be opened while the exceptions page is
// open. If this test fails it could indicate that a new content setting has
// been added but is not being dealt with correctly by the content settings
// handling WebUI code.
IN_PROC_BROWSER_TEST_F(ContentSettingsExceptionsAreaBrowserTest,
                       OpenIncognitoWindow) {
  NavigateToSettingsSubpage("contentExceptions");
  chrome::NewIncognitoWindow(browser());
}