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