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.urlisin_allow'
      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 contains a pattern that matches the URL of a
     18 visited page, and DefaultCookiesSetting=2 (ie, block cookies by default).
     19 
     20 The test case shall pass if the browser allows cookie storage for the test
     21 page, because the page URL matches one of the URL patterns specified in
     22 CookiesSessionOnlyForUrls. It shall fail if the browser blocks cookie storage
     23 for the test page.
     24 
     25 '''
     26 
     27 job.run_test('policy_CookiesSessionOnlyForUrls', case='UrlIsIn_Allow')
     28