[webkit-changes] [WebKit/WebKit] b3d35b: Enforce m_rootPath for remaining DOMFileSystem fil...
Commit Queue
noreply at github.com
Tue Jan 28 18:58:41 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b3d35bb8ab6482329d4d5e6c4737548156a49279
https://github.com/WebKit/WebKit/commit/b3d35bb8ab6482329d4d5e6c4737548156a49279
Author: Matthew Finkel <m_finkel at apple.com>
Date: 2025-01-28 (Tue, 28 Jan 2025)
Changed paths:
M LayoutTests/http/tests/security/file-system-access-via-dataTransfer-expected.txt
M LayoutTests/http/tests/security/file-system-access-via-dataTransfer.html
A LayoutTests/platform/mac-wk1/http/tests/security/file-system-access-via-dataTransfer-expected.txt
M Source/WebCore/Modules/entriesapi/DOMFileSystem.cpp
Log Message:
-----------
Enforce m_rootPath for remaining DOMFileSystem file access
https://bugs.webkit.org/show_bug.cgi?id=283117
rdar://139533231
Reviewed by Chris Dumez.
This is a follow-up to 276184 at main where I added validation in
DOMFileSystem::get{Entry,File}. That missed the ability to leverage getParent
and listDirectory for testing if a directory exists. This patch closes that
hole.
* LayoutTests/http/tests/security/file-system-access-via-dataTransfer-expected.txt:
* LayoutTests/http/tests/security/file-system-access-via-dataTransfer.html:
* LayoutTests/platform/mac-wk1/http/tests/security/file-system-access-via-dataTransfer-expected.txt: Copied from LayoutTests/http/tests/security/file-system-access-via-dataTransfer-expected.txt.
* Source/WebCore/Modules/entriesapi/DOMFileSystem.cpp:
(WebCore::DOMFileSystem::listDirectory):
(WebCore::DOMFileSystem::getParent):
Originally-landed-as: 283286.586 at safari-7620-branch (bddd7907adf8). rdar://143592706
Canonical link: https://commits.webkit.org/289479@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list