[webkit-changes] [WebKit/WebKit] a3a9a2: Port over remaining ServiceWorker types to the new...

Gavin noreply at github.com
Thu Feb 23 08:35:50 PST 2023


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

  Changed paths:
    M Source/WebCore/Headers.cmake
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/html/LinkIconType.h
    M Source/WebCore/platform/LinkIcon.h
    M Source/WebCore/platform/PasteboardItemInfo.h
    M Source/WebCore/platform/ScreenProperties.h
    M Source/WebCore/platform/VideoFrameTimeMetadata.h
    M Source/WebCore/platform/graphics/PositionedGlyphs.h
    M Source/WebCore/plugins/PluginData.h
    M Source/WebCore/rendering/CSSValueKey.h
    M Source/WebCore/rendering/EventRegion.cpp
    M Source/WebCore/rendering/EventRegion.h
    M Source/WebCore/workers/WorkerFetchResult.h
    M Source/WebCore/workers/WorkerInitializationData.h
    M Source/WebCore/workers/WorkerOptions.h
    M Source/WebCore/workers/service/ServiceWorkerContextData.h
    A Source/WebCore/workers/service/ServiceWorkerImportedScript.h
    M Source/WebCore/workers/service/ServiceWorkerJobDataIdentifier.h
    M Source/WebCore/workers/service/ServiceWorkerRegistrationData.h
    M Source/WebCore/workers/service/ServiceWorkerRegistrationKey.h
    M Source/WebCore/workers/service/ServiceWorkerRegistrationOptions.h
    M Source/WebCore/workers/shared/SharedWorkerKey.h
    M Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.messages.in
    M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
    M Source/WebKit/Shared/WebEvent.h
    M Source/WebKit/Shared/WebKeyboardEvent.h

  Log Message:
  -----------
  Port over remaining ServiceWorker types to the new serialization format
https://bugs.webkit.org/show_bug.cgi?id=252748
rdar://105782903

Reviewed by Alex Christensen.

This change ports the following types to the new IPC serialization
format:
    - LinkIconType
    - LinkIcon
    - SupportedPluginIdentifier
    - CSSValueKey
    - VideoFrameTimeMetadata
    - PositionedGlyphs
    - EventRegion
    - PasteboardItemPresentationStyle
    - PresentationSize
    - PasteboardItemInfo
    - WorkerOptions
    - WorkerInitializationData
    - WorkerFetchResult
    - SharedWorkerKey
    - ServiceWorkerRegistrationOptions
    - ServiceWorkerRegistrationKey
    - ServiceWorkerRegistrationData
    - ServiceWorkerJobDataIdentifier
    - ServiceWorkerImportedScript
    - ServiceWorkerContextData

* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/html/LinkIconType.h:
* Source/WebCore/platform/LinkIcon.h:
(WebCore::LinkIcon::encode const): Deleted.
(WebCore::LinkIcon::decode): Deleted.
* Source/WebCore/platform/PasteboardItemInfo.h:
(WebCore::PasteboardItemInfo::pathForHighestFidelityItem const):
(WebCore::PresentationSize::encode const): Deleted.
(WebCore::PresentationSize::decode): Deleted.
(WebCore::PasteboardItemInfo::encode const): Deleted.
(WebCore::PasteboardItemInfo::decode): Deleted.
* Source/WebCore/platform/ScreenProperties.h:
* Source/WebCore/platform/VideoFrameTimeMetadata.h:
(WebCore::VideoFrameTimeMetadata::encode const): Deleted.
(WebCore::VideoFrameTimeMetadata::decode): Deleted.
* Source/WebCore/platform/graphics/PositionedGlyphs.h:
(WebCore::PositionedGlyphs::PositionedGlyphs):
(WebCore::PositionedGlyphs::encode const): Deleted.
(WebCore::PositionedGlyphs::decode): Deleted.
* Source/WebCore/plugins/PluginData.h:
(WebCore::SupportedPluginIdentifier::decode): Deleted.
(WebCore::SupportedPluginIdentifier::encode const): Deleted.
* Source/WebCore/rendering/CSSValueKey.h:
(WebCore::CSSValueKey::encode const): Deleted.
(WebCore::CSSValueKey::decode): Deleted.
* Source/WebCore/rendering/EventRegion.cpp:
(WebCore::EventRegion::EventRegion):
* Source/WebCore/rendering/EventRegion.h:
(WebCore::EventRegion::encode const): Deleted.
(WebCore::EventRegion::decode): Deleted.
* Source/WebCore/workers/WorkerFetchResult.h:
(WebCore::WorkerFetchResult::isolatedCopy const):
(WebCore::workerFetchError):
(WebCore::WorkerFetchResult::encode const): Deleted.
(WebCore::WorkerFetchResult::decode): Deleted.
* Source/WebCore/workers/WorkerInitializationData.h:
(WebCore::WorkerInitializationData::encode const): Deleted.
(WebCore::WorkerInitializationData::decode): Deleted.
* Source/WebCore/workers/WorkerOptions.h:
(WebCore::WorkerOptions::encode const): Deleted.
(WebCore::WorkerOptions::decode): Deleted.
* Source/WebCore/workers/service/ServiceWorkerContextData.h:
(WebCore::ServiceWorkerContextData::ImportedScript::encode const): Deleted.
(WebCore::ServiceWorkerContextData::ImportedScript::decode): Deleted.
(WebCore::ServiceWorkerContextData::ImportedScript::isolatedCopy const): Deleted.
(WebCore::ServiceWorkerContextData::ImportedScript::isolatedCopy): Deleted.
(WebCore::ServiceWorkerContextData::encode const): Deleted.
(WebCore::ServiceWorkerContextData::decode): Deleted.
* Source/WebCore/workers/service/ServiceWorkerImportedScript.h: Copied from Source/WebCore/html/LinkIconType.h.
(WebCore::ServiceWorkerImportedScript::isolatedCopy const):
(WebCore::ServiceWorkerImportedScript::isolatedCopy):
* Source/WebCore/workers/service/ServiceWorkerJobDataIdentifier.h:
(WebCore::ServiceWorkerJobDataIdentifier::loggingString const):
(WebCore::ServiceWorkerJobDataIdentifier::encode const): Deleted.
(WebCore::ServiceWorkerJobDataIdentifier::decode): Deleted.
* Source/WebCore/workers/service/ServiceWorkerRegistrationData.h:
(WebCore::ServiceWorkerRegistrationData::encode const): Deleted.
(WebCore::ServiceWorkerRegistrationData::decode): Deleted.
* Source/WebCore/workers/service/ServiceWorkerRegistrationKey.h:
(WebCore::ServiceWorkerRegistrationKey::encode const): Deleted.
(WebCore::ServiceWorkerRegistrationKey::decode): Deleted.
* Source/WebCore/workers/service/ServiceWorkerRegistrationOptions.h:
(WebCore::ServiceWorkerRegistrationOptions::encode const): Deleted.
(WebCore::ServiceWorkerRegistrationOptions::decode): Deleted.
* Source/WebCore/workers/shared/SharedWorkerKey.h:
(WebCore::SharedWorkerKey::encode const): Deleted.
(WebCore::SharedWorkerKey::decode): Deleted.
* Source/WebKit/NetworkProcess/ServiceWorker/WebSWServerToContextConnection.messages.in:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/Shared/WebEvent.h:
* Source/WebKit/Shared/WebKeyboardEvent.h:

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




More information about the webkit-changes mailing list