Skip to content

Commit ffa1718

Browse files
committed
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]>
1 parent 63b7c6c commit ffa1718

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ Cleanup or debugging functions are examples of such a hook.
436436

437437
Runtimes that are reading or processing this configuration file MUST NOT generate an error if they encounter an unknown property.
438438
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.
439440

440441
## Valid values
441442

0 commit comments

Comments
 (0)