[webkit-changes] [WebKit/WebKit] cbe22e: Port the remaining WebCore/DOM types to the new se...
Gavin
noreply at github.com
Mon Feb 6 08:13:07 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cbe22e46962fff4854bb3128d3eb6a3e0b9cba76
https://github.com/WebKit/WebKit/commit/cbe22e46962fff4854bb3128d3eb6a3e0b9cba76
Author: Gavin Phillips <gavin.p at apple.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M Source/WebCore/Headers.cmake
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/dom/DocumentStorageAccess.h
M Source/WebCore/dom/EventInit.h
M Source/WebCore/dom/Exception.h
M Source/WebCore/dom/ExceptionData.h
M Source/WebCore/dom/MessageChannel.cpp
M Source/WebCore/dom/MessagePortIdentifier.h
A Source/WebCore/dom/PortIdentifier.h
M Source/WebCore/dom/SecurityPolicyViolationEvent.cpp
M Source/WebCore/dom/SecurityPolicyViolationEvent.h
M Source/WebCore/dom/messageports/MessageWithMessagePorts.h
M Source/WebCore/page/csp/CSPViolationReportBody.cpp
M Source/WebCore/page/csp/CSPViolationReportBody.h
M Source/WebCore/testing/Internals.cpp
M Source/WebKit/Scripts/webkit/messages.py
M Source/WebKit/Scripts/webkit/tests/MessageArgumentDescriptions.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.cpp
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Log Message:
-----------
Port the remaining WebCore/DOM types to the new serialization format
https://bugs.webkit.org/show_bug.cgi?id=251584
<rdar://problem/104959020>
Reviewed by Alex Christensen.
This change includes moving the following types:
- EventInit
- MessageWithMessagePorts
- StorageAccessWasGranted
- StorageAccessPromptWasShown
- StorageAccessScope
- StorageAccessQuickResult
- RequestStorageAccessResult
- Exception
- ExceptionData
- MessagePortIdentifier
- SecurityPolicyViolationEventInit
- CSPViolationReportBody
* Source/WebCore/Headers.cmake:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/dom/DocumentStorageAccess.h:
(WebCore::RequestStorageAccessResult::encode const): Deleted.
(WebCore::RequestStorageAccessResult::decode): Deleted.
* Source/WebCore/dom/EventInit.h:
(WebCore::EventInit::encode const): Deleted.
(WebCore::EventInit::decode): Deleted.
* Source/WebCore/dom/Exception.h:
(WebCore::Exception::encode const): Deleted.
(WebCore::Exception::decode): Deleted.
* Source/WebCore/dom/ExceptionData.h:
(WebCore::ExceptionData::encode const): Deleted.
(WebCore::ExceptionData::decode): Deleted.
* Source/WebCore/dom/MessageChannel.cpp:
(WebCore::generateMessagePorts):
* Source/WebCore/dom/MessagePortIdentifier.h:
(): Deleted.
(WebCore::MessagePortIdentifier::encode const): Deleted.
(WebCore::MessagePortIdentifier::decode): Deleted.
* Source/WebCore/dom/PortIdentifier.h: Copied from Source/WebCore/dom/EventInit.h.
* Source/WebCore/dom/SecurityPolicyViolationEvent.cpp:
(WebCore::SecurityPolicyViolationEventInit::SecurityPolicyViolationEventInit):
* Source/WebCore/dom/SecurityPolicyViolationEvent.h:
(WebCore::SecurityPolicyViolationEventInit::SecurityPolicyViolationEventInit): Deleted.
(WebCore::SecurityPolicyViolationEventInit::encode const): Deleted.
(WebCore::SecurityPolicyViolationEventInit::decode): Deleted.
* Source/WebCore/dom/messageports/MessageWithMessagePorts.h:
(WebCore::MessageWithMessagePorts::encode const): Deleted.
(WebCore::MessageWithMessagePorts::decode): Deleted.
* Source/WebCore/page/csp/CSPViolationReportBody.cpp:
(WebCore::CSPViolationReportBody::CSPViolationReportBody):
(WebCore::CSPViolationReportBody::create):
* Source/WebCore/page/csp/CSPViolationReportBody.h:
(WebCore::CSPViolationReportBody::encode const): Deleted.
(WebCore::CSPViolationReportBody::decode): Deleted.
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::isMessagePortAlive const):
* Source/WebKit/Scripts/webkit/messages.py:
(serialized_identifiers):
* Source/WebKit/Scripts/webkit/tests/MessageArgumentDescriptions.cpp:
(IPC::serializedIdentifiers):
* Source/WebKit/Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<RefPtr<WebCore::SerializedScriptValue>>::encode):
(IPC::ArgumentCoder<RefPtr<WebCore::SerializedScriptValue>>::decode):
(IPC::ArgumentCoder<RefPtr<WebCore::ReportBody>>::encode):
(IPC::ArgumentCoder<RefPtr<WebCore::ReportBody>>::decode):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
Canonical link: https://commits.webkit.org/259893@main
More information about the webkit-changes
mailing list