[webkit-changes] [WebKit/WebKit] 148e18: Port remaining WebCore/loader types to the new ser...

Gavin noreply at github.com
Fri Feb 3 04:41:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 148e18aedb4d65cfb801be5fef3af8267cd4c0cd
      https://github.com/WebKit/WebKit/commit/148e18aedb4d65cfb801be5fef3af8267cd4c0cd
  Author: Gavin Phillips <gavin.p at apple.com>
  Date:   2023-02-03 (Fri, 03 Feb 2023)

  Changed paths:
    M Source/WebCore/loader/AttributionSecondsUntilSendData.h
    M Source/WebCore/loader/CanvasActivityRecord.h
    M Source/WebCore/loader/CrossOriginOpenerPolicy.h
    M Source/WebCore/loader/CustomHeaderFields.h
    M Source/WebCore/loader/DocumentLoader.cpp
    M Source/WebCore/loader/HTTPHeaderField.h
    M Source/WebCore/loader/NavigationRequester.h
    M Source/WebCore/loader/PolicyContainer.h
    M Source/WebCore/loader/SubstituteData.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageLoaderClient.h
    M Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp
    M Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  Port remaining WebCore/loader types to the new serialization format
https://bugs.webkit.org/show_bug.cgi?id=251434
rdar://104866054

Reviewed by Alex Christensen.

This change includes porting types:
    - CanvasActivityRecord
    - AttributionSecondsUntilSendData
    - CrossOriginOpenerPolicyValue
    - CrossOriginOpenerPolicy
    - CustomHeaderFields
    - HTTPHeaderField
    - NavigationRequester
    - PolicyContainer
    - SessionHistoryVisibility
    - SubstituteData

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/loader/AttributionSecondsUntilSendData.h:
(WebCore::PCM::AttributionSecondsUntilSendData::minSecondsUntilSend):
(WebCore::PCM::AttributionSecondsUntilSendData::encode const): Deleted.
(WebCore::PCM::AttributionSecondsUntilSendData::decode): Deleted.
* Source/WebCore/loader/CanvasActivityRecord.h:
(WebCore::CanvasActivityRecord::encode const): Deleted.
(WebCore::CanvasActivityRecord::decode): Deleted.
* Source/WebCore/loader/CrossOriginOpenerPolicy.h:
(WebCore::CrossOriginOpenerPolicy::encode const): Deleted.
(WebCore::CrossOriginOpenerPolicy::decode): Deleted.
* Source/WebCore/loader/CustomHeaderFields.h:
(WebCore::CustomHeaderFields::encode const): Deleted.
(WebCore::CustomHeaderFields::decode): Deleted.
* Source/WebCore/loader/HTTPHeaderField.cpp:
(WebCore::HTTPHeaderField::HTTPHeaderField):
(WebCore::HTTPHeaderField::isValid):
(WebCore::HTTPHeaderField::create):
* Source/WebCore/loader/HTTPHeaderField.h:
(WebCore::HTTPHeaderField::encode const): Deleted.
(WebCore::HTTPHeaderField::decode): Deleted.
* Source/WebCore/loader/NavigationRequester.h:
(WebCore::NavigationRequester::encode const): Deleted.
(WebCore::NavigationRequester::decode): Deleted.
* Source/WebCore/loader/PolicyContainer.h:
(WebCore::PolicyContainer::isolatedCopy):
(WebCore::PolicyContainer::encode const): Deleted.
(WebCore::PolicyContainer::decode): Deleted.
* Source/WebCore/loader/SubstituteData.h:
(WebCore::SubstituteData::SubstituteData):
(WebCore::SubstituteData::isValid const):
(WebCore::SubstituteData::shouldRevealToSessionHistory const):
(WebCore::SubstituteData::content const):
(WebCore::SubstituteData::mimeType const):
(WebCore::SubstituteData::textEncoding const):
(WebCore::SubstituteData::failingURL const):
(WebCore::SubstituteData::response const):
(WebCore::SubstituteData::encode const): Deleted.
(WebCore::SubstituteData::decode): Deleted.
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list