[webkit-changes] [WebKit/WebKit] ff4285: Remove storage limit on single FileSystemSyncAcces...

Sihui noreply at github.com
Thu Apr 20 14:18:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ff428551109230c48056178c38eb43b5d8c5ab6c
      https://github.com/WebKit/WebKit/commit/ff428551109230c48056178c38eb43b5d8c5ab6c
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M LayoutTests/storage/filesystemaccess/sync-access-handle-read-write-worker.html
    M Source/WebKit/NetworkProcess/storage/FileSystemStorageHandle.cpp

  Log Message:
  -----------
  Remove storage limit on single FileSystemSyncAccessHandle
https://bugs.webkit.org/show_bug.cgi?id=255569
rdar://108171127

Reviewed by Youenn Fablet.

Storage size of single FileSystemSyncAccessHandle should be bounded by origin quota (OriginQuotaManager).

* LayoutTests/storage/filesystemaccess/sync-access-handle-read-write-worker.html: set a high quota limit and forbid it
to increase so we still get quota error when offset is overly big.
* Source/WebKit/NetworkProcess/storage/FileSystemStorageHandle.cpp:
(WebKit::FileSystemStorageHandle::requestNewCapacityForSyncAccessHandle):

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




More information about the webkit-changes mailing list