[wp-trac] [WordPress Trac] #55491: Replace `unload` event handlers from core
WordPress Trac
noreply at wordpress.org
Mon Oct 9 21:39:28 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):
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
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55491#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list