Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 799 forks source link

Verbum: test requestStorageAccess #36559

Open escapemanuele opened 6 months ago

escapemanuele commented 6 months ago

Context: p9oQ9f-25W-p2#comment-3110

This is mostly an exploration to see if it works correctly. All to handle the 3rd party cookies disabled.

Let's add a call to document. requestStorageAccess() after the first interaction by the user. After the request is granted, load the REST proxy iframe and start sending REST requests through it.

In Safari the request is for now being rejected when in a wordpress.com/public-api.wordpress.com scenario (e.g., Calypso), test it.

github-actions[bot] commented 6 months ago

Support References

This comment is automatically generated. Please do not edit it.