← Back to release summary

Deprecate Event.path

Category
DOM
Type
Feature removal
Status
Removed (Chrome 109)
Intent stage
Removed

Summary

Event.path is a non-standard API that returns the event's path, which is an array of the objects on which listeners will be invoked. It is supported by Blink only, causing web compatibility issues. Web developers should switch to the equivalent standard API Event.composedPath(), which returns the same result.

Motivation

Event.path is a non-standard API currently only supported by Blink, and hence, causing compatibility issues on other browsers. Hence, we are deprecating this feature, and encourage web developers to switch to the standard method Event.composedPath().

Standards & signals

View on chromestatus.com