Description
Hi,
I'm not sure if this is the best place to ask, so please feel free to redirect me if not.
While trialling first-party-sets, I came to a point where I wanted to go back to the original flow the user would go through when accessing an iFrame for the first time (ie when the user interacts within the iFrame, it triggers Chrome prompting to grant storage access). From what I understood, when the user accepts (or denies) the access, it sets a permission called "storage-access" that is then accessible from navigator.permission
. I was wondering if there is anyway for me to reset this permission to its default state so I can test the user flow easily? The only thing I've found that comes close to resetting was the navigator.permissions.revoke
that now seems deprecated and so unusable.
I have also tried resetting the permission on the website that embeds the iFrame and it didn't seem to do the trick.
Any help would be much appreciated, let me know if more information is needed!
Thanks,
Megan