requestStorageAccess()
- First-Party Sets demorequestStorageAccess()
in a cross-site, same-set iframe
.requestStorageAccessFor()
for embedded cross-site, same-set resources.๐งโ๐ป Code for the iframe.
This demo uses two sites: first-party-sets.glitch.me
and fps-member-1.glitch.me
, which are both part of the same First-Party Set. first-party-sets.glitch.me
sets a cookie named crossSite
to that will be allowed in the cross-site, same-set contexts via the Storage Access API.