blob: 6ea5acf1e7ecd6f56dd4d0cb6c84071246a80646 [file] [log] [blame] [edit]
# 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_ImagesBlockedForUrls.2urls_allow'
ATTRIBUTES = 'suite:bvt-perbuild'
TIME = 'SHORT'
TEST_CATEGORY = 'General'
TEST_CLASS = 'enterprise'
TEST_TYPE = 'client'
DOC = '''
Verify effects of ImagesBlockedForUrls policy.
This test case verifies the behavior of Chrome OS when ImagesBlockedForUrls
user policy is set to multiple URL patterns, and DefaultImagesSetting policy
is set to 1 or undefined (allow by default).
The test case shall pass iff the browser blocks images for any test page with
an URL that matches any of the URL patterns specified in ImagesBlockedForUrls,
and allows images on any page with an URL that does not match. It shall fail
if the browser does not enforce this behavior.
'''
job.run_test('policy_ImagesBlockedForUrls', case='2Urls_Allow')