Home | History | Annotate | Download | only in policy_DefaultJavaScriptSetting
      1 # Copyright 2018 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 = 'rzakarian'
      6 NAME = 'policy_DefaultJavaScriptSetting.DoNotAllow'
      7 ATTRIBUTES = 'suite:ent-nightly, suite:policy'
      8 TIME = 'SHORT'
      9 TEST_CATEGORY = 'General'
     10 TEST_CLASS = 'enterprise'
     11 TEST_TYPE = 'client'
     12 
     13 DOC = '''
     14 Verify effects of DefaultJavaScriptSetting policy.
     15 
     16 Sets DefaultJavaScriptSetting to Do Not Allow, goes to a webpage with
     17 JavaScript and verify that it did not load.
     18 '''
     19 
     20 job.run_test('policy_DefaultJavaScriptSetting', case='Do Not Allow')
     21