GoogleChrome / GoogleChrome/lighthouse

retire no-unload-listeners or update to report iframe listeners to match bfcache audit?

Open
#14,584 1 comment 1 reaction 1 assignee Claimed by @paulirish View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.