Home | History | Annotate | Download | only in policy_JavaScriptAllowedForUrls

Lines Matching refs:policy_value

89     def _test_javascript_allowed_for_urls(self, policy_value, policies_json):
97 @param policy_value: policy value expected on chrome://policy page.
101 self.setup_case(self.POLICY_NAME, policy_value, policies_json)
103 policy_value, policies_json)
115 if policy_value is not None and self.URL_HOST in policy_value:
116 # If |URL_HOST| is in |policy_value|, then JavaScript execution
128 Set the expected |policy_value| string and |policies_json| data based
130 command line args, then use it to set the |policy_value| and blank out
138 # |policy_value| to the given value, and |policies_json| to None.
139 policy_value = self.value
142 # Otherwise, set expected |policy_value| and setup |policies_json|
145 policy_value = None
147 policy_value = ','.join(self.TEST_CASES[case])
153 self._test_javascript_allowed_for_urls(policy_value, policies_json)