Given the new no-unload-listeners audit that's been added to Lighthouse, we should remove any use of the unload event. Even though the use in this library is to fix a bug and doesn't apply to the issues described in the audit, we still don't want sites to fail the audit because of this library.
Given the new
no-unload-listenersaudit that's been added to Lighthouse, we should remove any use of theunloadevent. Even though the use in this library is to fix a bug and doesn't apply to the issues described in the audit, we still don't want sites to fail the audit because of this library.