Index: core/scripts/templates/InternalRuntimeFlags.idl.tmpl |
diff --git a/core/scripts/templates/InternalRuntimeFlags.idl.tmpl b/core/scripts/templates/InternalRuntimeFlags.idl.tmpl |
index c73ce7a8f9bf2037e36166d98d5acb48654c1d11..f0161f97e55b763e88190080cdacbd89f99c2924 100644 |
--- a/core/scripts/templates/InternalRuntimeFlags.idl.tmpl |
+++ b/core/scripts/templates/InternalRuntimeFlags.idl.tmpl |
@@ -9,7 +9,10 @@ |
it's possible that some can be and should be conditionally readonly. |
#} |
{% if feature.condition -%} [Conditional={{feature.condition}}] {% endif -%} |
+ {% if feature.writeable %} |
+ attribute boolean {{feature.first_lowered_name}}Enabled; |
+ {% else %} |
readonly attribute boolean {{feature.first_lowered_name}}Enabled; |
+ {% endif %} |
{%- endfor %} |
}; |
- |