[Webkit-unassigned] [Bug 248719] New: Files written to OPFS through a sync access handle in Safari are read back out with a size of zero bytes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Dec 3 12:55:56 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=248719
Bug ID: 248719
Summary: Files written to OPFS through a sync access handle in
Safari are read back out with a size of zero bytes
Product: WebKit
Version: Safari 16
Hardware: Mac (Apple Silicon)
OS: macOS 13
Status: NEW
Severity: Major
Priority: P2
Component: Website Storage
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nathan at shareup.app
CC: sihui_liu at apple.com
After closing the sync access handle, reading a file from OPFS with `getFile()` always returns a `File` of size zero.
I've create a gist with file to reproduce the problem. The example in the gist works in Chrome, the file contents can be read back out after the sync access handle is closed.
See https://gist.github.com/myobie/021fc07f09e013b1e5c137ec09282aeb
--
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/20221203/f25b76b5/attachment-0001.htm>
More information about the webkit-unassigned
mailing list