Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3874e70be385d408a128fd020d40efdb46f40723
https://github.com/WebKit/WebKit/commit/3874e70be385d408a128fd020d40efdb46f40723
Author: Alex Christensen <[email protected]>
Date: 2025-10-21 (Tue, 21 Oct 2025)
Changed paths:
M Source/WebCore/Configurations/AllowedSPI-legacy.toml
M Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj
A Source/WebCore/PAL/pal/cocoa/WebContentAnalysisSoftLink.h
A Source/WebCore/PAL/pal/cocoa/WebContentAnalysisSoftLink.mm
M Source/WebCore/PAL/pal/spi/cocoa/WebFilterEvaluatorSPI.h
M Source/WebCore/platform/ContentFilterUnblockHandler.h
M Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm
M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.h
M Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm
M Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in
M Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
M Source/WebKit/UIProcess/ProvisionalPageProxy.h
M Source/WebKit/UIProcess/WebPageProxy.h
Log Message:
-----------
Use WKKeyedCoder instead of NSKeyedUnarchiver to send WebFilterEvaluator over
IPC
https://bugs.webkit.org/show_bug.cgi?id=301126
rdar://162603751
Reviewed by Per Arne Vollan.
Using WKKeyedCoder can expose more metadata to the IPC fuzzer. A
WebFilterEvaluator is just
a number, a URL, and a String. The FIXME comment to replace it was written
before we had WKKeyedCoder.
* Source/WebCore/Configurations/AllowedSPI-legacy.toml:
* Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj:
* Source/WebCore/PAL/pal/cocoa/WebContentAnalysisSoftLink.h: Copied from
Source/WebCore/PAL/pal/cocoa/WebPrivacySoftLink.mm.
* Source/WebCore/PAL/pal/cocoa/WebContentAnalysisSoftLink.mm: Copied from
Source/WebCore/PAL/pal/cocoa/WebPrivacySoftLink.mm.
* Source/WebCore/PAL/pal/spi/cocoa/WebFilterEvaluatorSPI.h:
* Source/WebCore/platform/ContentFilterUnblockHandler.h:
(WebCore::ContentFilterUnblockHandler::webFilterEvaluator const):
* Source/WebCore/platform/cocoa/ContentFilterUnblockHandlerCocoa.mm:
(WebCore::ContentFilterUnblockHandler::ContentFilterUnblockHandler):
(WebCore::ContentFilterUnblockHandler::wrapWithDecisionHandler):
(WebCore::ContentFilterUnblockHandler::needsUIProcess const):
(WebCore::ContentFilterUnblockHandler::canHandleRequest const):
(WebCore::ContentFilterUnblockHandler::webFilterEvaluatorData const): Deleted.
(WebCore::unpackWebFilterEvaluatorData): Deleted.
(WebCore::ContentFilterUnblockHandler::hasWebFilterEvaluator const): Deleted.
(WebCore::ContentFilterUnblockHandler::webFilterEvaluator): Deleted.
* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.h:
* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(IPC::getClass<WebFilterEvaluator>):
* Source/WebKit/Shared/Cocoa/WebCoreArgumentCodersCocoa.serialization.in:
* Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm:
(WebKit::WebPageProxy::contentFilterDidBlockLoadForFrame):
(WebKit::WebPageProxy::contentFilterDidBlockLoadForFrameShared):
* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp:
(WebKit::ProvisionalPageProxy::contentFilterDidBlockLoadForFrame):
* Source/WebKit/UIProcess/ProvisionalPageProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.h:
Canonical link: https://commits.webkit.org/301882@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