• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_ImagesBlockedForUrls.1url_block'
7ATTRIBUTES = 'suite:bvt-perbuild, suite:policy'
8TIME = 'SHORT'
9TEST_CATEGORY = 'General'
10TEST_CLASS = 'enterprise'
11TEST_TYPE = 'client'
12
13DOC = '''
14Verify effects of ImagesBlockedForUrls policy.
15
16This test case verifies the behavior of Chrome OS when ImagesBlockedForUrls
17user policy is set to a single URL pattern, and DefaultImagesSetting policy
18is set to 1 or undefined (allow by default).
19
20The test case shall pass iff the browser blocks images for any test page with
21an URL that matches any of the URL patterns specified in ImagesBlockedForUrls,
22and allows images on any page with an URL that does not match. It shall fail
23if the browser does not enforce this behavior.
24
25'''
26
27job.run_test('policy_ImagesBlockedForUrls', case='1Url_Block')
28