cypress icon indicating copy to clipboard operation
cypress copied to clipboard

Understand/fix any implications of `unload` event deprecation within Chrome

Open jennifer-shehane opened this issue 11 months ago • 1 comments

What would you like?

https://developer.chrome.com/docs/web-platform/deprecating-unload

Chrome is deprecating the upload event where it will begin ceasing to functions for some websites starting Q3 2024.

We should enable the flags to turn it off to understand the implications of the deprecation. https://github.com/fergald/docs/blob/master/explainers/permissions-policy-deprecate-unload.md#testing-with-chrome

We'll also need to handle users that have this flag manually turned on past the deprecation.

I opened a PR to deprecate the unload event to see what would fail here: https://github.com/cypress-io/cypress/pull/29242

Why is this needed?

No response

Other

No response

jennifer-shehane avatar Apr 01 '24 17:04 jennifer-shehane

Next step: Determine if pagehide event will suffice for a replacement event

cacieprins avatar May 07 '24 14:05 cacieprins

Released in 13.11.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v13.11.0, please open a new issue.

cypress-bot[bot] avatar Jun 04 '24 20:06 cypress-bot[bot]