mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
Our implementation of https://html.spec.whatwg.org/multipage/#unloading-document-cleanup-steps is incomplete and doesn't consider the existence of websockets. This change corrects that, and adds a little bit more structure to the current document unloading implementation. Testing: New passing tests. Fixes: #39872 Signed-off-by: Josh Matthews <josh@joshmatthews.net>