| Index: third_party/WebKit/Source/bindings/scripts/v8_attributes.py
|
| diff --git a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py
|
| index e1c2021282b04ec9f5fd158dd8a5da989e9fb26d..ed8f1a9f50eb5ac38650f1a33f813b4147d7545a 100644
|
| --- a/third_party/WebKit/Source/bindings/scripts/v8_attributes.py
|
| +++ b/third_party/WebKit/Source/bindings/scripts/v8_attributes.py
|
| @@ -241,12 +241,6 @@ def filter_lazy_data_attributes(attributes):
|
| return [attribute for attribute in attributes if is_data_attribute(attribute) and is_lazy_data_attribute(attribute)]
|
|
|
|
|
| -def filter_origin_trial_enabled(attributes):
|
| - return [attribute for attribute in attributes if
|
| - attribute['origin_trial_feature_name'] and
|
| - not attribute['exposed_test']]
|
| -
|
| -
|
| def filter_runtime_enabled(attributes):
|
| return [attribute for attribute in attributes if
|
| not (attribute['exposed_test'] or
|
| @@ -254,6 +248,13 @@ def filter_runtime_enabled(attributes):
|
| attribute['runtime_enabled_feature_name']]
|
|
|
|
|
| +def filter_conditionally_enabled(attributes):
|
| + return [attribute for attribute in attributes if
|
| + attribute['exposed_test'] or
|
| + (attribute['secure_context_test'] and
|
| + not attribute['origin_trial_feature_name'])]
|
| +
|
| +
|
| ################################################################################
|
| # Getter
|
| ################################################################################
|
|
|