Skip to content

How can I reset the permission "storage-access"? #170

Open
GoogleChrome/developer.chrome.com
#7071
@MeganAlexia

Description

@MeganAlexia

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions