mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
1c6553e97d
Moves the event attribute validation check outside of `ngDevMode` in the `elementAttributeInternal` instruction to ensure that bindings to event attributes like `on*` are always blocked at runtime.
(cherry picked from commit 5b421c61cd)