[Webkit-unassigned] [Bug 229811] Implement Storage API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 10 14:54:01 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=229811

--- Comment #4 from Sihui Liu <sihui_liu at apple.com> ---
(In reply to Nate Brustein from comment #3)
> I'm not seeing StorageManager.persist() and persisted() work in the way I
> expect.
> 
> Here is what I'm seeing in Safari:
> 
>  * storage.persist() will resolve to true
>  * In the same session, storage.persisted() will resolve to true
>  * After refreshing the page storage.persisted() will resolve to false
> 
> I would expect that if storage.persisted() resolved to true in one session,
> it would still be true in a subsequent session. That's what I'm seeing in
> Chrome and FF.
> 
> Am I misunderstanding the behavior here, or is this unexpected?

Hi, the persisted flag was not persisted (as WebKit didn't evict data on storage pressure), and this particular issue is fixed at https://bugs.webkit.org/show_bug.cgi?id=256483.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230510/51d08ad8/attachment.htm>


More information about the webkit-unassigned mailing list