Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#55746 closed defect (bug) (invalid)

Chrome deprecation notice: Event.path

Reported by: chjohnathan's profile chjohnathan 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.

Screenshot of the devtool message.
https://collectivehealth.com/wp-content/uploads/2022/05/Screen-Shot-2022-05-16-at-9.07.44-AM.png

Change History (3)

#1 follow-up: @SergeyBiryukov
3 years ago

  • Focuses coding-standards removed
  • Keywords close added

Hi there, welcome to WordPress Trac! Thanks for the ticket.

There is no www-widgetapi.js file 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.

#2 in reply to: ↑ 1 @chjohnathan
3 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Replying to SergeyBiryukov:

🤦‍♂️ Thanks for looking into this!

#3 @peterwilsoncc
3 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.