The Site Data list is not immediately updated

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
a year ago
a year ago

People

(Reporter: roxana.leitan, Unassigned)

Tracking

(Blocks: 1 bug)

56 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [storage-v1])

(Reporter)

Description

a year ago
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20170613030203

[Affected versions]:
Nightly 56.0a1

[Affected platforms]:
Windows 10 x64, Ubuntu 16.04 

[Steps to reproduce]:
1.Launch Nightly 56.0a1 with a new profile
2.Go to Options -> Privacy &Security -> Site Data -> Settings
3.In a new tab navigate to mozilla.org
3.Open Developer-> Web Console and type "navigator.storage.persist().then(persisted => console.log(persisted));"
4.Select " Allow" 

[Expected result]:
Settings-Site Data list should be updated accordingly (mozilla.org website should be added to the list)

[Actual result]:
Settings-Site Data list is updated only after is reopened
Hi Fischer,
Can you reproduce this issue? Let's evaluate the priority first.
Flags: needinfo?(fliu)
FWIW, I can reproduce this on Win10, but not on OSX.
(In reply to Hsin-Yi Tsai (55 Regression Engineering support) [:hsinyi] from comment #2)
> FWIW, I can reproduce this on Win10, but not on OSX.

Last month I encountered this problem is because of Bug 1364852. Since javascript error, the script won't be executed fully.

Updated

a year ago
Whiteboard: [storage-v1][triage]

Comment 4

a year ago
(In reply to Hsin-Yi Tsai (55 Regression Engineering support) [:hsinyi] from comment #2)
> FWIW, I can reproduce this on Win10, but not on OSX.
Mmm, this is weird because we are not doing immediately dynamical update. 
The timing of updating list are refresh about:preferences or reopen about:preferences or performing deletion operation.
The reason not doing that is due to performance concern and some uncertain cases on ux.
Flags: needinfo?(fliu)
ni myself for further project traige.
Flags: needinfo?(htsai)
Component: DOM → Preferences
Flags: needinfo?(htsai)
Product: Core → Firefox
this is by design. WONTFIX
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
Whiteboard: [storage-v1][triage] → [storage-v1]
You need to log in before you can comment on or make changes to this bug.