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