blob: 9c3b4008af99657cc94d30264e1d79250ecd0738 [file] [log] [blame]
# 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_JavaScriptBlockedForUrls.notset_allow'
ATTRIBUTES = 'suite:ent-nightly, suite:policy'
TIME = 'SHORT'
TEST_CATEGORY = 'General'
TEST_CLASS = 'enterprise'
TEST_TYPE = 'client'
DOC = '''
Verify effects of JavaScriptBlockedForUrls policy.
This test case verifies the behavior of Chrome OS when JavaScriptBlockedForUrls
user policy is not set to any URL pattern, and the DefaultJavaScriptSetting
policy is set to 1 (allow by default).
The test case shall pass iff the browser allows javascript for every test page.
It shall fail if the browser blocks javascript on any test page.
'''
job.run_test('policy_JavaScriptBlockedForUrls', case='NotSet_Allow')