| # Copyright 2016 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = 'scunningham' |
| NAME = 'policy_CookiesSessionOnlyForUrls.notset_block' |
| # TODO(krishnargv): enable this test once crbug.com/712713 is fixed. |
| # ATTRIBUTES = 'suite:ent-nightly, suite:policy' |
| TIME = 'SHORT' |
| TEST_CATEGORY = 'Functional' |
| TEST_CLASS = 'enterprise' |
| TEST_TYPE = 'client' |
| |
| DOC = ''' |
| Verify effects of CookiesSessionOnlyForUrls policy. |
| |
| This test case verifies the behavior and appearance of Chrome OS when user |
| policy CookiesSessionOnlyForUrls is not set, and DefaultCookiesSetting=2 |
| (ie, block cookies by default). |
| |
| The test case shall pass if the browser blocks cookie storage for the test |
| page. It shall fail if the browser allows cookie storage for the test page. |
| |
| ''' |
| |
| job.run_test('policy_CookiesSessionOnlyForUrls', case='NotSet_Block') |