1# Copyright 2016 The Chromium OS 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
5AUTHOR = 'scunningham'
6NAME = 'policy_CookiesSessionOnlyForUrls.urlisin_allow'
7# TODO(krishnargv): enable this test once crbug.com/712713 is fixed.
8# ATTRIBUTES = 'suite:ent-nightly, suite:policy'
9TIME = 'SHORT'
10TEST_CATEGORY = 'Functional'
11TEST_CLASS = 'enterprise'
12TEST_TYPE = 'client'
13
14DOC = '''
15Verify effects of CookiesSessionOnlyForUrls policy.
16
17This test case verifies the behavior and appearance of Chrome OS when the user
18policy CookiesSessionOnlyForUrls contains a pattern that matches the URL of a
19visited page, and DefaultCookiesSetting=2 (ie, block cookies by default).
20
21The test case shall pass if the browser allows cookie storage for the test
22page, because the page URL matches one of the URL patterns specified in
23CookiesSessionOnlyForUrls. It shall fail if the browser blocks cookie storage
24for the test page.
25
26'''
27
28job.run_test('policy_CookiesSessionOnlyForUrls', case='UrlIsIn_Allow')
29