← Back to release summary

Do not perform default action on un-trusted events

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 53)
Intent stage
None

Summary

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.

Standards & signals

View on chromestatus.com