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_PopupsAllowedForUrls.notset_block' 7 ATTRIBUTES = 'suite:bvt-perbuild' 8 TIME = 'SHORT' 9 TEST_CATEGORY = 'General' 10 TEST_CLASS = 'enterprise' 11 TEST_TYPE = 'client' 12 13 DOC = ''' 14 Verify effects of PopupsAllowedForUrls policy. 15 16 This test case verifies the behavior of Chrome OS when PopupsAllowedForUrls 17 user policy is not set to any URL pattern, and DefaultPopupsSetting policy 18 is set to 2 (do not allow by default). 19 20 The test case shall pass iff the browser blocks popups for every test page. 21 It shall fail if the browser allows popups on any test page. 22 23 ''' 24 25 job.run_test('policy_PopupsAllowedForUrls', case='NotSet_Block') 26