Closed Bug 1627852 Opened 6 years ago Closed 6 years ago

persistent storage permission cannot be invoked

Categories

(Firefox :: Site Permissions, defect)

74 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1558478

People

(Reporter: zerolxy, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36

Steps to reproduce:

  1. Grant persistent storage permission with navigator.storage.persist()
  2. Click 'Allow' in the popup.
  3. navigator.storage.persisted() return true.
    4a. Remove the persistent storage permission from the "site information" dropdown next to the address bar.
    4b. Rerun navigator.storage.persist() and choose 'not now' this time.

Actual results:

4a. navigator.storage.persisted() still returns true.
4b. The "site information" dropdown shows persistent storage permission is "blocked temporary", but navigator.storage.persisted() still returns true.

Restarting the browser doesn't fix it.

Expected results:

navigator.storage.persisted() returns false.

Sorry about the chrome user agent. I submitted the bug with Chrome. The proper user agent is Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0

Flags: needinfo?(ttung)
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Component: Untriaged → Site Permissions

(I will reply on bug 1558478)

Flags: needinfo?(ttung)
You need to log in before you can comment on or make changes to this bug.