OLD | NEW |
1 {% from "macros.tmpl" import license -%} | 1 {% from "macros.tmpl" import license -%} |
2 {{ license() }} | 2 {{ license() }} |
3 | 3 |
4 [ | 4 [ |
5 ] interface InternalRuntimeFlags { | 5 ] interface InternalRuntimeFlags { |
6 {%- for feature in features if not feature.custom %} | 6 {%- for feature in features if not feature.custom %} |
7 {#- | 7 {#- |
8 Currently assuming that runtime flags cannot be changed after startup | 8 Currently assuming that runtime flags cannot be changed after startup |
9 it's possible that some can be and should be conditionally readonly. | 9 it's possible that some can be and should be conditionally readonly. |
10 #} | 10 #} |
11 {% if feature.condition -%} [Conditional={{feature.condition}}] {% endif -%} | 11 {% if feature.condition -%} [Conditional={{feature.condition}}] {% endif -%} |
12 readonly attribute boolean {{feature.first_lowered_name}}Enabled; | 12 readonly attribute boolean {{feature.first_lowered_name}}Enabled; |
13 {%- endfor %} | 13 {%- endfor %} |
14 }; | 14 }; |
15 | 15 |
OLD | NEW |