[wp-trac] [WordPress Trac] #55491: Replace `unload` event handlers from core

WordPress Trac noreply at wordpress.org
Fri Oct 13 16:55:21 UTC 2023


#55491: Replace `unload` event handlers from core
----------------------------+--------------------------------------
 Reporter:  shawfactor      |       Owner:  westonruter
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  6.4
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |     Focuses:  javascript, performance
----------------------------+--------------------------------------

Comment (by westonruter):

 Replying to [comment:46 westonruter]:
 > I found that there is some JS code in Gutenberg that has an `unload`
 event as well, but this is a transitive dependency on `lib0/indexeddb`.
 I've opened an upstream issue to address this:
 https://github.com/dmonad/lib0/issues/78

 And it has now been
 [https://github.com/dmonad/lib0/commit/8a3946b84c1e796defd1eb17dc48cba1f50229f5
 removed] from there as well.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55491#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list