GoogleChrome / GoogleChrome/lighthouse
retire no-unload-listeners or update to report iframe listeners to match bfcache audit?
Open
P3
- Dominant language
- JavaScript
- Stars
- 30.8k
- Forks
- 9.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 20
Description
With the new bfcache audit on its way (#14465), `no-unload-listeners` might be redundant and should be removed, since that information will be included in the bfcache audit.
OTOH, [not using `unload` listeners is a best practice](https://web.dev/bfcache/#never-use-the-unload-event) even if a page is ineligible for bfcache for unrelated reasons, so maybe it should stick around. If so, it should maybe be updated to list unload listeners on iframes as well as the current main frame reporting, though that needs to be balanced against third-party actionability.
cc @charistheo
Contributor guide
Assessment
This issue has not been assessed yet.