[webkit-changes] [WebKit/WebKit] d4b94f: Generate serializers for SessionState objects

EWS noreply at github.com
Thu Oct 13 12:57:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d4b94f129726c8655c0afac437019ed5cbe69bd3
      https://github.com/WebKit/WebKit/commit/d4b94f129726c8655c0afac437019ed5cbe69bd3
  Author: Alex Christensen <achristensen at webkit.org>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M Source/WebKit/CMakeLists.txt
    M Source/WebKit/DerivedSources-input.xcfilelist
    M Source/WebKit/DerivedSources.make
    M Source/WebKit/Shared/SessionState.cpp
    M Source/WebKit/Shared/SessionState.h
    A Source/WebKit/Shared/SessionState.serialization.in
    M Source/WebKit/Shared/WebCoreArgumentCoders.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.h
    M Source/WebKit/UIProcess/API/glib/WebKitWebViewSessionState.cpp
    M Source/WebKit/UIProcess/mac/LegacySessionStateCoding.cpp
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj
    M Source/WebKit/WebProcess/WebCoreSupport/SessionStateConversion.cpp

  Log Message:
  -----------
  Generate serializers for SessionState objects
https://bugs.webkit.org/show_bug.cgi?id=246423
rdar://101097050

Reviewed by Tim Horton.

* Source/WebKit/CMakeLists.txt:
* Source/WebKit/DerivedSources-input.xcfilelist:
* Source/WebKit/DerivedSources.make:
* Source/WebKit/Shared/SessionState.cpp:
(WebKit::FrameState::validateDocumentState):
(WebKit::FrameState::setDocumentState):
(WebKit::HTTPBody::Element::encode const): Deleted.
(WebKit::isValidEnum): Deleted.
(WebKit::HTTPBody::Element::decode): Deleted.
(WebKit::HTTPBody::encode const): Deleted.
(WebKit::HTTPBody::decode): Deleted.
(WebKit::FrameState::encode const): Deleted.
(WebKit::FrameState::decode): Deleted.
(WebKit::PageState::encode const): Deleted.
(WebKit::PageState::decode): Deleted.
(WebKit::BackForwardListItemState::encode const): Deleted.
(WebKit::BackForwardListItemState::decode): Deleted.
(WebKit::BackForwardListState::encode const): Deleted.
(WebKit::BackForwardListState::decode): Deleted.
(WebKit::FrameState::validateDocumentState const): Deleted.
* Source/WebKit/Shared/SessionState.h:
* Source/WebKit/Shared/SessionState.serialization.in: Added.
* Source/WebKit/Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<RefPtr<WebCore::SerializedScriptValue>>::encode):
(IPC::ArgumentCoder<RefPtr<WebCore::SerializedScriptValue>>::decode):
* Source/WebKit/Shared/WebCoreArgumentCoders.h:
* Source/WebKit/UIProcess/mac/LegacySessionStateCoding.cpp:
(WebKit::encodeFormDataElement):
(WebKit::encodeFrameStateNode):
(WebKit::decodeFormDataElement):
(WebKit::isValidEnum): Deleted.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Source/WebKit/WebProcess/WebCoreSupport/SessionStateConversion.cpp:
(WebKit::toHTTPBody):
(WebKit::toFormData):

Canonical link: https://commits.webkit.org/255499@main




More information about the webkit-changes mailing list