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