[Webkit-unassigned] [Bug 226814] localStorage "locks" items when they're updated too frequently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 15 05:20:04 PDT 2021


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

--- Comment #14 from Hui Tang <yoyo837 at hotmail.com> ---
(In reply to Pascal Cremer from comment #13)
> (In reply to Hui Tang from comment #10)
> > I can reproduce the problem. Can I upload a screenshot here? . I am a
> > newcomer here. Thank you.
> 
> Could you isolate the problem? I can reproduce it with one of my web apps,
> but it seems like I cannot isolate it enough to produce a failing PoC.

I can't, I guess my experience is almost exactly the same as yours.

But, I may have found a way to fix it.

When you put your new token to storage, try remove it first. just like this:

```
+localStorage.removeItem('token'); // add this line
 localStorage.setItem('token', 'xxx');
```

Have a good try, it make my code works again.

-- 
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/20210615/420b5ff8/attachment.htm>


More information about the webkit-unassigned mailing list