1 # Copyright (c) 2012 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 = "jorgelo (a] chromium.org" 6 NAME = "security_BundledExtensions" 7 PURPOSE = "Verify bundled extensions/their permissions have all been approved" 8 CRITERIA = """ 9 This test will fail if the set of expected extensions -- and every 10 permission requested by those extensions -- does not exactly match 11 the expected set. 12 """ 13 ATTRIBUTES = "" 14 TIME = "SHORT" 15 TEST_CATEGORY = "Functional" 16 TEST_CLASS = "security" 17 TEST_TYPE = "client" 18 19 DOC = """ 20 This test uses telemetry to ask Chrome what extensions it has installed, 21 what their effective permissions are, etc. Then it compares those to a 22 list and fails (with various helpful details) if there is not an exact match. 23 """ 24 25 job.run_test('security_BundledExtensions') 26