You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
config: Do not allow runtimes to ignore properties defined by the spec
Otherwise a runtime could silently ignore a property it didn't want to
implement, which would be confusing for runtime callers [1]. This
closes a potential loophole in the restriction from 766abd6
(runtime.md: Require 'create' to fail if config.json asks for the
impossible, 2016-09-08, #559).
[1]: #472 (comment)
Signed-off-by: W. Trevor King <[email protected]>
Copy file name to clipboardExpand all lines: config.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -436,6 +436,7 @@ Cleanup or debugging functions are examples of such a hook.
436
436
437
437
Runtimes that are reading or processing this configuration file MUST NOT generate an error if they encounter an unknown property.
438
438
Instead they MUST ignore unknown properties.
439
+
Properties defined for the [target platform](spec.md#platforms) by the [declared version](#specification-version) of this specification MUST NOT be ignored.
0 commit comments