[webkit-changes] [WebKit/WebKit] 60a609: Data written via FileSystemSyncAccessHandle disapp...

Sihui noreply at github.com
Fri Jan 13 09:29:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 60a6090b410679b744f83e3bdb196189354c148f
      https://github.com/WebKit/WebKit/commit/60a6090b410679b744f83e3bdb196189354c148f
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M LayoutTests/storage/filesystemaccess/file-handle-getfile-expected.txt
    M LayoutTests/storage/filesystemaccess/file-handle-getfile-worker-expected.txt
    M LayoutTests/storage/filesystemaccess/resources/file-handle-getfile.js
    M Source/WebKit/NetworkProcess/storage/FileSystemStorageHandle.cpp

  Log Message:
  -----------
  Data written via FileSystemSyncAccessHandle disappears after creating new FileSystemFileHandle
https://bugs.webkit.org/show_bug.cgi?id=250495
rdar://104187327

Reviewed by Chris Dumez.

FileSystem::openFile truncates file when mode is FileOpenMode::Write.

* LayoutTests/storage/filesystemaccess/file-handle-getfile-expected.txt:
* LayoutTests/storage/filesystemaccess/file-handle-getfile-worker-expected.txt:
* LayoutTests/storage/filesystemaccess/resources/file-handle-getfile.js:
(async test):
* Source/WebKit/NetworkProcess/storage/FileSystemStorageHandle.cpp:
(WebKit::FileSystemStorageHandle::create):

Canonical link: https://commits.webkit.org/258876@main




More information about the webkit-changes mailing list