Commit 74709a8
committed
Add basic tests for prototype safety
Language-specific implementation details shouldn't affect property
existence checks.
Validators should not traverse JS prototype chain or assign to it.
If a validator supports applying default values from the schema, it
should pass with that both enabled or disabled.
Testing that might detect significant issues in e.g. JS implementations.1 parent 1d5c3c0 commit 74709a8
File tree
4 files changed
+3904
-0
lines changed- tests
- draft2019-09
- draft4
- draft6
- draft7
4 files changed
+3904
-0
lines changed
0 commit comments