1# Copyright 2015 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_ImagesAllowedForUrls' 7TIME = 'SHORT' 8TEST_CATEGORY = 'General' 9TEST_CLASS = 'enterprise' 10TEST_TYPE = 'client' 11 12DOC = ''' 13Verify effects of ImagesAllowedForUrls policy on client look and feel. 14 15This test verifies the effect of the ImagesAllowedForUrls user policy on 16Chrome OS client behavior and appearance when the DefaultImagesSetting policy 17is set to 2. It exercises a range of policy values using four unique test 18cases, named: NotSet_Block, 1Url_Allow, 2Urls_Block, and 3Urls_Allow. See the 19test file for a full description of what each test case does. 20 21In general, a test shall pass if the browser only allows images to be shown 22on a test page that is in a domain listed in the ImagesAllowedForUrls policy. 23A test shall fail if the browser blocks images on a page where they should be 24allowed to be shown, or allows images to be shown on a page where they should 25be blocked. 26 27''' 28 29args_dict = utils.args_to_dict(args) 30 31job.run_test('policy_ImagesAllowedForUrls', **args_dict) 32