blob: f3d47b3e704057c1f38c65dbc7782dd1bbff7203 [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_JavaScriptAllowedForUrls.notset_block'
ATTRIBUTES = 'suite:ent-nightly, suite:policy'
TEST_CLASS = 'enterprise'
TEST_TYPE = 'client'
DOC = '''
Verify effects of JavaScriptAllowedForUrls policy.
This test case verifies the behavior of Chrome OS when JavaScriptAllowedForUrls
user policy is not set to any URL pattern, and DefaultJavaScriptSetting policy
is set to 2 (do not allow by default).
The test case shall pass iff the browser blocks javascript for every test page.
It shall fail if the browser allows javascript on any test page.
job.run_test('policy_JavaScriptAllowedForUrls', case='NotSet_Block')