Skip to content

core: remove no-unload-listeners audit#15874

Merged
devtools-bot merged 6 commits intomainfrom
rm-unload-listeners
Mar 27, 2024
Merged

core: remove no-unload-listeners audit#15874
devtools-bot merged 6 commits intomainfrom
rm-unload-listeners

Conversation

@adamraine
Copy link
Copy Markdown
Contributor

@adamraine adamraine commented Mar 20, 2024

Closes #15766

Also removes GlobalListeners artifact.

@adamraine adamraine requested a review from a team as a code owner March 20, 2024 22:59
@adamraine adamraine requested review from connorjclark and removed request for a team March 20, 2024 22:59
@brendankenny
Copy link
Copy Markdown
Contributor

Is this clean up or fixing something pressing? I know long term the audit doesn't fit into a trace-first world, but removing (default) support for unload listeners on most sites doesn't start until Q3, with full removal by Q1 2025, so warning devs to not use unload listeners still seems like a good goal until sometime in that time.

Could this live as-is for another few quarters and not hurt anything?

@adamraine
Copy link
Copy Markdown
Contributor Author

so warning devs to not use unload listeners still seems like a good goal until sometime in that time.

We already warn about this in deprecations AND bfcache. IMO it doesn't need it's own audit anymore.

@brendankenny
Copy link
Copy Markdown
Contributor

Ah, didn't realize (or just forgot) it was in deprecations. Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove no-unload-listeners audit

4 participants