Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 85b9898d9930da836bd5192502e8bb7886f882e4
https://github.com/WebKit/WebKit/commit/85b9898d9930da836bd5192502e8bb7886f882e4
Author: Chris Dumez <[email protected]>
Date: 2025-03-16 (Sun, 16 Mar 2025)
Changed paths:
M Source/JavaScriptCore/jsc.cpp
M Source/WTF/wtf/FileHandle.h
M Source/WTF/wtf/posix/FileHandlePOSIX.cpp
M Source/WTF/wtf/win/FileHandleWin.cpp
M Source/WebCore/Modules/filesystemaccess/FileSystemSyncAccessHandle.cpp
M Source/WebCore/platform/FileStream.cpp
M Source/WebKit/NetworkProcess/storage/FileSystemStorageHandle.cpp
M Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp
Log Message:
-----------
Update FileHandle::seek() to return a std::optional
https://bugs.webkit.org/show_bug.cgi?id=289858
Reviewed by Geoffrey Garen.
Update FileHandle::seek() to return a std::optional so we can return
std::nullopt
in case of error, instead of -1.
* Source/JavaScriptCore/jsc.cpp:
* Source/WTF/wtf/FileHandle.h:
* Source/WTF/wtf/posix/FileHandlePOSIX.cpp:
(WTF::FileSystemImpl::FileHandle::seek):
* Source/WTF/wtf/win/FileHandleWin.cpp:
(WTF::FileSystemImpl::FileHandle::seek):
* Source/WebCore/Modules/filesystemaccess/FileSystemSyncAccessHandle.cpp:
(WebCore::FileSystemSyncAccessHandle::truncate):
(WebCore::FileSystemSyncAccessHandle::read):
(WebCore::FileSystemSyncAccessHandle::write):
* Source/WebCore/platform/FileStream.cpp:
(WebCore::FileStream::openForRead):
* Source/WebKit/NetworkProcess/storage/FileSystemStorageHandle.cpp:
(WebKit::FileSystemStorageHandle::executeCommandForWritableInternal):
(WebKit::FileSystemStorageHandle::computeCommandSpace):
* Source/WebKit/UIProcess/API/APIContentRuleListStore.cpp:
(API::compiledToFile):
(API::ContentRuleListStore::invalidateContentRuleListVersion):
(API::ContentRuleListStore::corruptContentRuleListActionsMatchingEverything):
Canonical link: https://commits.webkit.org/292249@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes