[webkit-changes] [WebKit/WebKit] 9b5d93: Move ReportBody and the remaining subtypes over to...

Gavin noreply at github.com
Tue Feb 21 17:17:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9b5d93f7c707c1455f167db93fed6b0db34d5b20
      https://github.com/WebKit/WebKit/commit/9b5d93f7c707c1455f167db93fed6b0db34d5b20
  Author: Gavin Phillips <gavin.p at apple.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M Source/WebCore/Modules/reporting/ViolationReportType.h
    M Source/WebCore/loader/COEPInheritenceViolationReportBody.h
    M Source/WebCore/loader/CORPViolationReportBody.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.cpp
    M Source/WebKit/Shared/WebCoreArgumentCoders.h
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in

  Log Message:
  -----------
  Move ReportBody and the remaining subtypes over to the new IPC serialization format
https://bugs.webkit.org/show_bug.cgi?id=252563
rdar://105677731

Reviewed by Alex Christensen.

This changes moves ReportBody and the remaining subtypes over to the new
IPC serialization format. This includes:
    - ReportBody
    - ViolationReportType
    - COEPDisposition
    - COEPInheritenceViolationReportBody
    - CORPViolationReportBody

* Source/WebCore/Modules/reporting/Report.cpp:
(WebCore::Report::create):
(WebCore::Report::asReportBodyType const):
* Source/WebCore/Modules/reporting/Report.h:
* Source/WebCore/Modules/reporting/ViolationReportType.h:
* Source/WebCore/loader/COEPInheritenceViolationReportBody.h:
(WebCore::COEPInheritenceViolationReportBody::encode const): Deleted.
(WebCore::COEPInheritenceViolationReportBody::decode): Deleted.
* Source/WebCore/loader/CORPViolationReportBody.h:
(WebCore::CORPViolationReportBody::encode const): Deleted.
(WebCore::CORPViolationReportBody::decode): Deleted.
* Source/WebKit/Shared/WebCoreArgumentCoders.cpp:
(IPC::ArgumentCoder<RefPtr<WebCore::ReportBody>>::encode): Deleted.
(IPC::ArgumentCoder<RefPtr<WebCore::ReportBody>>::decode): Deleted.
* Source/WebKit/Shared/WebCoreArgumentCoders.h:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:

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




More information about the webkit-changes mailing list