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.urlnotin_block' 7ATTRIBUTES = 'suite:bvt-perbuild' 8TIME = 'SHORT' 9TEST_CATEGORY = 'Functional' 10TEST_CLASS = 'enterprise' 11TEST_TYPE = 'client' 12 13DOC = ''' 14Verify effects of CookiesSessionOnlyForUrls policy. 15 16This test case verifies the behavior and appearance of Chrome OS when the user 17policy CookiesSessionOnlyForUrls does not contain a pattern that matches the 18URL of a visited page, and DefaultCookiesSetting=2 (ie, block cookies by 19default). 20 21The test case shall pass if the browser blocks cookie storage for the test 22page, because the page URL does not match any of the URL patterns specified in 23CookiesSessionOnlyForUrls. It shall fail if the browser allows cookie storage 24for the test page. 25 26''' 27 28job.run_test('policy_CookiesSessionOnlyForUrls', case='UrlNotIn_Block') 29