According to the UI Events specification un-trusted events (i.e. those created by JavaScript) should not invoke the default action. 'click' is the only event that is a legacy permitted case. The isTrusted support was added in https://www.chromestatus.com/features/6461137440735232 which identifies trusted events from un-trusted events. We wish to prevent synthetic events from executing the default action, aligning with Firefox and IE.
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 53
- Chrome for Android release 53
- Chrome for iOS release 53
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Shipped/Shipping
- Positive
- No signal
- No signals
Owner
Search tags
events, un-trusted, default action,Last updated on 2020-11-09