[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 11:09:22 PDT 2021


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

--- Comment #17 from Alexey Shvayka <shvaikalesh at gmail.com> ---
(In reply to Pascal Cremer from comment #0)
> It works for `delay` >= 100ms, but breaks for values below, such as 50ms.

I'm not sure this is likely to be a symptom of JIT-related issue. JIT bugs that are not GC-related normally reproduce after a function called X times.

With that said, to completely eliminate IC-related issues, one can replace all occurrences, if any, of:
* `localStorage.x` with `localStorage.getItem("x")`;
* `localStorage.x = val` with `localStorage.setItem("x", val)`;
* `delete localStorage.x` with `localStorage.removeItem("x")`.

Type info flags that are set on JSStorage seems to be correct.

> I've originally come across this issue when checking my apps in iOS 15b1, but I could replicate it in the latest Safari Technology Preview (125) for macOS 11 as well.

MBA 8.1, macOS 11.4, TP 125, followed strictly the GIF (with Web Inspector open), with different `times` / `delay` arguments. No luck to reproduce.

Maybe some site-related Storage quirks are to blame?

-- 
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/2df2edb4/attachment.htm>


More information about the webkit-unassigned mailing list