[webkit-changes] [WebKit/WebKit] 61f6c4: getFileHandle() should return TypeMismatchError on...

Sihui noreply at github.com
Fri Apr 7 09:38:54 PDT 2023


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

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemDirectoryHandle-getDirectoryHandle.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemDirectoryHandle-getDirectoryHandle.https.any.worker-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemDirectoryHandle-getFileHandle.https.any-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemDirectoryHandle-getFileHandle.https.any.worker-expected.txt
    M LayoutTests/storage/filesystemaccess/directory-handle-basics-expected.txt
    M LayoutTests/storage/filesystemaccess/directory-handle-basics-worker-expected.txt
    M LayoutTests/storage/filesystemaccess/resources/directory-handle-basics.js
    M Source/WebKit/NetworkProcess/storage/FileSystemStorageError.h

  Log Message:
  -----------
  getFileHandle() should return TypeMismatchError on unexpected entry type
https://bugs.webkit.org/show_bug.cgi?id=255092
rdar://107716194

Reviewed by Youenn Fablet.

Based on spec: https://fs.spec.whatwg.org/#dom-filesystemdirectoryhandle-getfilehandle

Updated test LayoutTests/storage/filesystemaccess/directory-handle-basics.html and rebaselined expectations for imported
tests.

* LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemDirectoryHandle-getDirectoryHandle.https.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemDirectoryHandle-getDirectoryHandle.https.any.worker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemDirectoryHandle-getFileHandle.https.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemDirectoryHandle-getFileHandle.https.any.worker-expected.txt:
* LayoutTests/storage/filesystemaccess/directory-handle-basics-expected.txt:
* LayoutTests/storage/filesystemaccess/directory-handle-basics-worker-expected.txt:
* LayoutTests/storage/filesystemaccess/resources/directory-handle-basics.js:
* Source/WebKit/NetworkProcess/storage/FileSystemStorageError.h:
(WebKit::convertToException):

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




More information about the webkit-changes mailing list