[webkit-changes] [WebKit/WebKit] 5ca67b: Add fallback code for launching WebKit process ext...
Per Arne Vollan
noreply at github.com
Fri Mar 1 21:01:58 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5ca67b41a22f9c7bee0aafa7a6669c710881c7e9
https://github.com/WebKit/WebKit/commit/5ca67b41a22f9c7bee0aafa7a6669c710881c7e9
Author: Per Arne Vollan <pvollan at apple.com>
Date: 2024-03-01 (Fri, 01 Mar 2024)
Changed paths:
M Source/WTF/wtf/PlatformUse.h
M Source/WebKit/Platform/cocoa/ExtensionCapability.h
M Source/WebKit/Platform/cocoa/ExtensionCapabilityGrant.h
M Source/WebKit/Platform/cocoa/ExtensionCapabilityGrant.mm
M Source/WebKit/UIProcess/Cocoa/ExtensionCapabilityGranter.mm
M Source/WebKit/UIProcess/Cocoa/ProcessAssertionCocoa.mm
M Source/WebKit/UIProcess/Launcher/cocoa/ExtensionProcess.h
M Source/WebKit/UIProcess/Launcher/cocoa/ExtensionProcess.mm
M Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm
M Source/WebKit/UIProcess/ProcessAssertion.h
Log Message:
-----------
Add fallback code for launching WebKit process extensions
https://bugs.webkit.org/show_bug.cgi?id=270238
rdar://123774804
Reviewed by Timothy Hatcher and Chris Dumez.
Add fallback code for launching WebKit process extensions. This is required to run layout tests in Simulator with WebKit ToT
in certain older configurations. This fallback code is only needed on Simulator and only enabled there.
* Source/WebKit/Platform/cocoa/ExtensionCapability.h:
(WebKit::ExtensionCapability::platformCapability const):
(WebKit::ExtensionCapability::hasPlatformCapability const):
(WebKit::ExtensionCapability::platformCapabilityIsValid):
(WebKit::ExtensionCapability::setPlatformCapability):
* Source/WebKit/Platform/cocoa/ExtensionCapabilityGrant.h:
* Source/WebKit/Platform/cocoa/ExtensionCapabilityGrant.mm:
(WebKit::platformInvalidate):
(WebKit::ExtensionCapabilityGrant::ExtensionCapabilityGrant):
(WebKit::ExtensionCapabilityGrant::~ExtensionCapabilityGrant):
(WebKit::ExtensionCapabilityGrant::isEmpty const):
(WebKit::ExtensionCapabilityGrant::isValid const):
(WebKit::ExtensionCapabilityGrant::setPlatformGrant):
(WebKit::ExtensionCapabilityGrant::invalidate):
* Source/WebKit/Shared/AuxiliaryProcessExtensions/GPUExtension-Info.plist:
* Source/WebKit/Shared/AuxiliaryProcessExtensions/WebContentExtension-CaptivePortal-Info.plist:
* Source/WebKit/Shared/AuxiliaryProcessExtensions/WebContentExtension-Info.plist:
* Source/WebKit/UIProcess/Cocoa/ExtensionCapabilityGranter.mm:
(WebKit::grantCapability):
(WebKit::grantCapabilityInternal):
(WebKit::ExtensionCapabilityGranter::grant):
(WebKit::ExtensionCapabilityGranter::setMediaCapabilityActive):
(WebKit::ExtensionCapabilityGranter::invalidateGrants):
* Source/WebKit/UIProcess/Cocoa/ProcessAssertionCocoa.mm:
(WebKit::ProcessAssertion::ProcessAssertion):
(WebKit::ProcessAssertion::acquireSync):
(WebKit::ProcessAssertion::~ProcessAssertion):
* Source/WebKit/UIProcess/Launcher/cocoa/ExtensionProcess.h:
* Source/WebKit/UIProcess/Launcher/cocoa/ExtensionProcess.mm:
(WebKit::ExtensionProcess::ExtensionProcess):
(WebKit::ExtensionProcess::grantCapability const):
(WebKit::ExtensionProcess::createVisibilityPropagationInteraction const):
* Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm:
(WebKit::serviceNameAndIdentifier):
(WebKit::launchWithExtensionKitFallback):
(WebKit::launchWithExtensionKit):
* Source/WebKit/UIProcess/ProcessAssertion.h:
Canonical link: https://commits.webkit.org/275590@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list