#55746 closed defect (bug) (invalid)
Chrome deprecation notice: Event.path
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | trivial | Version: | 5.9.3 |
| Component: | General | Keywords: | close |
| Focuses: | javascript | Cc: |
Description
On Chrome Version 101.0.4951.64, there's a flagged issue showing in devtools as below from the www-widgetapi.js on line 538:
'Event.path' is deprecated and will be removed in M109, around January 2023. Please use 'Event.composedPath()' instead.
There's also a link to get more information about this deprecation.
Change History (3)
Note: See
TracTickets for help on using
tickets.

Hi there, welcome to WordPress Trac! Thanks for the ticket.
There is no
www-widgetapi.jsfile in WordPress core, it appears to be a part of YouTube's iframe_api script and is most likely loaded by a plugin or theme on your install. So it doesn't look like there are any actionable items here for WordPress core at this time.