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