angular-docs-cn/packages/platform-server/test
Kara Erickson 1950e2d9ba fix(ivy): throw on bindings to unknown properties (#28537)
This commit adds a devMode-only check which will throw if a user
attempts to bind a property that does not match a directive
input or a known HTML property.

Example:
```
<div [unknownProp]="someValue"></div>
```

The above will throw because "unknownProp" is not a known
property of HTMLDivElement.

This check is similar to the check executed in View Engine during
template parsing, but occurs at runtime instead of compile-time.

Note: This change uncovered an existing bug with host binding
inheritance, so some Material tests had to be turned off. They
will be fixed in an upcoming PR.

PR Close #28537
2019-02-07 12:37:32 -08:00
..
BUILD.bazel test(ivy): enable platform-server tests for ivy (#27102) 2018-11-19 09:20:39 -08:00
integration_spec.ts fix(ivy): throw on bindings to unknown properties (#28537) 2019-02-07 12:37:32 -08:00