Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Announcement] Deprecating the unload event #74

Closed
nishitha-burman opened this issue Sep 14, 2023 · 0 comments
Closed

[Announcement] Deprecating the unload event #74

nishitha-burman opened this issue Sep 14, 2023 · 0 comments

Comments

@nishitha-burman
Copy link

The Google Chrome team plans to deprecate the unload event starting in Chrome version 117. The deprecation is done by gradually changing the default so unload handlers stop firing on pages unless a page explicitly opts in to re-enable them. For more information, see Deprecating the unload event - Chrome Developers, and Google Groups - Conversations.

While we haven't yet finalized the deprecation schedule, we anticipate that Microsoft Edge follows Chrome's schedule with a possible delay of a release or two. This will have a cascading effect in Microsoft Edge WebView2. If you're interested in testing with version 118, the ForcePermissionPolicyUnloadDefaultEnabled policy is available or you can use the instructions documented at Disable unload handlers by default and add Permissions-Policy to opt-in to enabling them. WebView2 will support both the permissions policy and the enterprise policy but won't be impacted by the gradual rollout in Microsoft Edge. We expect WebView2 will switch defaults when the roll out reaches 100% of page loads.

@nishitha-burman nishitha-burman changed the title Announcement: Deprecating the unload event [Announcement] Deprecating the unload event Sep 14, 2023
@nishitha-burman nishitha-burman pinned this issue Sep 14, 2023
@nishitha-burman nishitha-burman unpinned this issue Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants