Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 378b40e2ab38ff17805958a8fd864ab3dc82daa9
https://github.com/WebKit/WebKit/commit/378b40e2ab38ff17805958a8fd864ab3dc82daa9
Author: Anne van Kesteren <[email protected]>
Date: 2026-05-18 (Mon, 18 May 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemBaseHandle-isSameEntry.https.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/fs/FileSystemBaseHandle-isSameEntry.https.any.worker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/fs/script-tests/FileSystemBaseHandle-isSameEntry.js
M Source/WebCore/Modules/storage/StorageManager.cpp
Log Message:
-----------
Root FileSystemDirectoryHandle should have a non-null name
https://bugs.webkit.org/show_bug.cgi?id=314974
Reviewed by Sihui Liu.
navigator.storage.getDirectory() constructed the root
FileSystemDirectoryHandle with a null string for its name argument.
Round-tripping the handle through structured clone results in an
empty string. This means that isSameEntry() will treat them
differently. The specification uses an empty string so follow that.
Test:
imported/w3c/web-platform-tests/fs/script-tests/FileSystemBaseHandle-isSameEntry.js
Upstream: https://github.com/web-platform-tests/wpt/pull/59933
Canonical link: https://commits.webkit.org/313397@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications