Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bbf9c61c6db8291be05526138b5d283601dd7630
https://github.com/WebKit/WebKit/commit/bbf9c61c6db8291be05526138b5d283601dd7630
Author: Ryosuke Niwa <[email protected]>
Date: 2025-10-22 (Wed, 22 Oct 2025)
Changed paths:
M Source/WebCore/loader/archive/cf/LegacyWebArchiveMac.mm
M Source/WebCore/loader/mac/LoaderNSURLExtras.mm
M Source/WebCore/page/cocoa/ResourceUsageOverlayCocoa.mm
M Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm
M Source/WebCore/page/scrolling/mac/ScrollingTreeMac.mm
M Source/WebCore/platform/audio/mac/AudioBusMac.mm
M Source/WebCore/platform/cocoa/CoreLocationGeolocationProvider.mm
M Source/WebCore/platform/cocoa/MIMETypeRegistryCocoa.mm
M Source/WebCore/platform/cocoa/PasteboardCocoa.mm
M Source/WebCore/platform/cocoa/TextRecognitionResultCocoa.mm
M Source/WebCore/platform/cocoa/WebCoreNSErrorExtras.mm
M Source/WebCore/platform/cocoa/WebNSAttributedStringExtras.mm
M Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm
M Source/WebCore/platform/gamepad/cocoa/GameControllerGamepadProvider.mm
M Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEngines.mm
M Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.mm
M Source/WebCore/platform/graphics/avfoundation/MediaPlaybackTargetCocoa.mm
M
Source/WebCore/platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm
M Source/WebCore/platform/graphics/avfoundation/WebAVSampleBufferListener.mm
M
Source/WebCore/platform/graphics/avfoundation/objc/AVAssetTrackUtilities.mm
M
Source/WebCore/platform/graphics/avfoundation/objc/CDMFairPlayStreamingAVFObjC.mm
M
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVFoundationObjC.mm
M Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm
M
Source/WebCore/platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm
M
Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm
M Source/WebCore/platform/graphics/avfoundation/objc/QueuedVideoOutput.mm
M
Source/WebCore/platform/graphics/avfoundation/objc/VideoLayerManagerObjC.mm
M
Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm
M Source/WebCore/platform/graphics/cocoa/WebCoreCALayerExtras.mm
M
Source/WebCore/platform/graphics/coreimage/FEComponentTransferCoreImageApplier.mm
M Source/WebCore/platform/graphics/mac/AppKitControlSystemImage.mm
M Source/WebCore/platform/graphics/mac/ColorMac.mm
M Source/WebCore/platform/graphics/mac/IconMac.mm
M Source/WebCore/platform/graphics/mac/PDFDocumentImageMac.mm
M
Source/WebCore/platform/graphics/mac/controls/SearchFieldCancelButtonMac.mm
M Source/WebCore/platform/graphics/mac/controls/SearchFieldResultsMac.mm
M Source/WebCore/platform/graphics/mac/controls/WebControlView.mm
M Source/WebCore/platform/mac/CursorMac.mm
M Source/WebCore/platform/mac/LocalDefaultSystemAppearance.mm
M Source/WebCore/platform/mac/PasteboardMac.mm
M Source/WebCore/platform/mac/PasteboardWriter.mm
M Source/WebCore/platform/mac/PlatformEventFactoryMac.mm
M Source/WebCore/platform/mac/PlatformPasteboardMac.mm
M Source/WebCore/platform/mac/PlatformScreenMac.mm
M Source/WebCore/platform/mac/ScrollViewMac.mm
M Source/WebCore/platform/mac/ScrollbarsControllerMac.mm
M Source/WebCore/platform/mac/SerializedPlatformDataCueMac.mm
M Source/WebCore/platform/mac/ThreadCheck.mm
M Source/WebCore/platform/mac/VideoPresentationInterfaceMac.mm
M Source/WebCore/platform/mac/WebCoreFullScreenWindow.mm
M Source/WebCore/platform/mac/WebCoreNSFontManagerExtras.mm
M Source/WebCore/platform/mac/WebCoreNSURLExtras.mm
M Source/WebCore/platform/mac/WebCoreView.mm
M Source/WebCore/platform/mac/WebPlaybackControlsManager.mm
M Source/WebCore/platform/mac/WidgetMac.mm
M Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.mm
M Source/WebCore/platform/network/cocoa/CookieCocoa.mm
M Source/WebCore/platform/network/cocoa/CredentialCocoa.mm
M Source/WebCore/platform/network/cocoa/NetworkLoadMetrics.mm
M Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm
M Source/WebCore/platform/network/cocoa/ResourceRequestCocoa.mm
M Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm
M Source/WebCore/platform/network/mac/ResourceErrorMac.mm
M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm
M Source/WebCore/rendering/mac/RenderThemeMac.mm
M Source/WebCore/testing/cocoa/WebViewVisualIdentificationOverlay.mm
Log Message:
-----------
Prepare Source/WebCore for clang static analyzer update (part 2)
https://bugs.webkit.org/show_bug.cgi?id=301258
Reviewed by Geoffrey Garen.
Add PAL to the list of projects we check static analyzer results.
Note that we need to adjust the path for PAL to be Source/WebCore/PAL instead
of Source/PAL.
* Source/WebCore/loader/archive/cf/LegacyWebArchiveMac.mm:
(WebCore::LegacyWebArchive::createResourceResponseFromMacArchivedData):
* Source/WebCore/loader/mac/LoaderNSURLExtras.mm:
(suggestedFilenameWithMIMEType):
* Source/WebCore/page/cocoa/ResourceUsageOverlayCocoa.mm:
(WebCore::ResourceUsageOverlay::platformInitialize):
* Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.mm:
(WebCore::ScrollingTreeFrameScrollingNodeMac::exposedUnfilledArea const):
* Source/WebCore/page/scrolling/mac/ScrollingTreeMac.mm:
(isScrolledBy):
* Source/WebCore/platform/audio/mac/AudioBusMac.mm:
(WebCore::AudioBus::loadPlatformResource):
* Source/WebCore/platform/cocoa/CoreLocationGeolocationProvider.mm:
(-[WebCLLocationManager locationManager:didFailWithError:]):
* Source/WebCore/platform/cocoa/MIMETypeRegistryCocoa.mm:
(WebCore::MIMETypeRegistry::mimeTypeForExtension):
* Source/WebCore/platform/cocoa/PasteboardCocoa.mm:
(WebCore::convertTIFFToPNG):
* Source/WebCore/platform/cocoa/TextRecognitionResultCocoa.mm:
(WebCore::TextRecognitionResult::extractAttributedString):
* Source/WebCore/platform/cocoa/WebCoreNSErrorExtras.mm:
(WebCore::mediaKeyErrorSystemCode):
* Source/WebCore/platform/cocoa/WebNSAttributedStringExtras.mm:
(WebCore::attributedStringByStrippingAttachmentCharacters):
* Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm:
(WebCore::GameControllerGamepad::setupElements):
* Source/WebCore/platform/gamepad/cocoa/GameControllerGamepadProvider.mm:
(WebCore::GameControllerGamepadProvider::startMonitoringGamepads):
* Source/WebCore/platform/gamepad/cocoa/GameControllerHapticEngines.mm:
(WebCore::GameControllerHapticEngines::GameControllerHapticEngines):
* Source/WebCore/platform/graphics/avfoundation/AudioVideoRendererAVFObjC.mm:
(WebCore::AudioVideoRendererAVFObjC::setVideoRenderer):
* Source/WebCore/platform/graphics/avfoundation/MediaPlaybackTargetCocoa.mm:
(WebCore::MediaPlaybackTargetContextCocoa::deviceName const):
* Source/WebCore/platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm:
(WebCore::MediaSelectionOptionAVFObjC::index const):
(WebCore::MediaSelectionGroupAVFObjC::updateOptions):
* Source/WebCore/platform/graphics/avfoundation/WebAVSampleBufferListener.mm:
(-[WebAVSampleBufferListenerPrivate layerFailedToDecode:]):
(-[WebAVSampleBufferListenerPrivate audioRendererWasAutomaticallyFlushed:]):
* Source/WebCore/platform/graphics/avfoundation/objc/AVAssetTrackUtilities.mm:
(WebCore::assetTrackMeetsHardwareDecodeRequirements):
*
Source/WebCore/platform/graphics/avfoundation/objc/CDMFairPlayStreamingAVFObjC.mm:
(WebCore::CDMPrivateFairPlayStreaming::keyIDsForRequest):
*
Source/WebCore/platform/graphics/avfoundation/objc/CDMSessionAVFoundationObjC.mm:
(WebCore::CDMSessionAVFoundationObjC::update):
* Source/WebCore/platform/graphics/avfoundation/objc/ImageDecoderAVFObjC.mm:
(-[WebCoreSharedBufferResourceLoaderDelegate canFulfillRequest:]):
(-[WebCoreSharedBufferResourceLoaderDelegate fulfillRequest:]):
(WebCore::ImageDecoderAVFObjC::ImageDecoderAVFObjC):
(WebCore::ImageDecoderAVFObjC::createFrameImageAtIndex):
*
Source/WebCore/platform/graphics/avfoundation/objc/InbandTextTrackPrivateAVFObjC.mm:
(WebCore::InbandTextTrackPrivateAVFObjC::label const):
*
Source/WebCore/platform/graphics/avfoundation/objc/LocalSampleBufferDisplayLayer.mm:
(WebCore::LocalSampleBufferDisplayLayer::enqueueBufferInternal):
* Source/WebCore/platform/graphics/avfoundation/objc/QueuedVideoOutput.mm:
(-[WebQueuedVideoOutputDelegate
observeValueForKeyPath:ofObject:change:context:]):
* Source/WebCore/platform/graphics/avfoundation/objc/VideoLayerManagerObjC.mm:
(WebCore::VideoLayerManagerObjC::setVideoFullscreenLayer):
*
Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
(WebCore::WebCoreAVFResourceLoader::startLoading):
(WebCore::WebCoreAVFResourceLoader::responseReceived):
(WebCore::WebCoreAVFResourceLoader::newDataStoredInSharedBuffer):
* Source/WebCore/platform/graphics/cocoa/WebCoreCALayerExtras.mm:
(-[CALayer _web_maskContainsPoint:]):
(-[CALayer _web_maskMayIntersectRect:]):
*
Source/WebCore/platform/graphics/coreimage/FEComponentTransferCoreImageApplier.mm:
* Source/WebCore/platform/graphics/mac/AppKitControlSystemImage.mm:
(WebCore::AppKitControlSystemImage::AppKitControlSystemImage):
* Source/WebCore/platform/graphics/mac/ColorMac.mm:
(WebCore::makeSimpleColorFromNSColor):
* Source/WebCore/platform/graphics/mac/IconMac.mm:
(WebCore::Icon::createIconForFileExtension):
* Source/WebCore/platform/graphics/mac/PDFDocumentImageMac.mm:
(WebCore::PDFDocumentImage::computeBoundsForCurrentPage):
* Source/WebCore/platform/graphics/mac/controls/SearchFieldCancelButtonMac.mm:
(WebCore::SearchFieldCancelButtonMac::updateCellStates):
(WebCore::SearchFieldCancelButtonMac::draw):
* Source/WebCore/platform/graphics/mac/controls/SearchFieldResultsMac.mm:
(WebCore::SearchFieldResultsMac::draw):
* Source/WebCore/platform/graphics/mac/controls/WebControlView.mm:
(-[WebControlTextFieldCell _adjustedCoreUIDrawOptionsForDrawingBordersOnly:]):
* Source/WebCore/platform/mac/CursorMac.mm:
(WebCore::createCustomCursor):
* Source/WebCore/platform/mac/LocalDefaultSystemAppearance.mm:
(WebCore::LocalDefaultSystemAppearance::LocalDefaultSystemAppearance):
* Source/WebCore/platform/mac/PasteboardMac.mm:
(WebCore::writeFileWrapperAsRTFDAttachment):
(WebCore::setDragImageImpl):
* Source/WebCore/platform/mac/PasteboardWriter.mm:
(WebCore::createPasteboardWriter):
* Source/WebCore/platform/mac/PlatformEventFactoryMac.mm:
(WebCore::globalPointForEvent):
(WebCore::keyForKeyEvent):
(WebCore::keyIdentifierForKeyEvent):
(WebCore::windowsKeyCodeForKeyEvent):
* Source/WebCore/platform/mac/PlatformPasteboardMac.mm:
(WebCore::PlatformPasteboard::getTypes const):
(WebCore::PlatformPasteboard::bufferForType const):
(WebCore::PlatformPasteboard::numberOfFiles const):
(WebCore::PlatformPasteboard::stringForType const):
(WebCore::urlStringsFromPasteboard):
(WebCore::PlatformPasteboard::allStringsForType const):
(WebCore::PlatformPasteboard::typesSafeForDOMToReadAndWrite const):
(WebCore::PlatformPasteboard::copy):
(WebCore::PlatformPasteboard::setStringForType):
(WebCore::PlatformPasteboard::readURL const):
(WebCore::PlatformPasteboard::informationForItemAtIndex):
* Source/WebCore/platform/mac/PlatformScreenMac.mm:
(WebCore::displayID):
* Source/WebCore/platform/mac/ScrollViewMac.mm:
(WebCore::ScrollView::platformAddChild):
(WebCore::ScrollView::platformContentsToScreen const):
(WebCore::ScrollView::platformScreenToContents const):
* Source/WebCore/platform/mac/ScrollbarsControllerMac.mm:
(WebCore::ScrollbarsControllerMac::updateScrollerImps):
* Source/WebCore/platform/mac/SerializedPlatformDataCueMac.mm:
(WebCore::jsValueWithValueInContext):
(WebCore::jsValueWithArrayInContext):
(WebCore::jsValueWithDictionaryInContext):
* Source/WebCore/platform/mac/ThreadCheck.mm:
(WebCore::readThreadViolationBehaviorFromUserDefaults):
* Source/WebCore/platform/mac/VideoPresentationInterfaceMac.mm:
(-[WebVideoPresentationInterfaceMacObjC
setUpPIPForVideoView:withFrame:inWindow:]):
(-[WebVideoPresentationInterfaceMacObjC
superviewDidChangeForVideoViewContainer:]):
(-[WebVideoPresentationInterfaceMacObjC pipDidClose:]):
* Source/WebCore/platform/mac/WebCoreFullScreenWindow.mm:
(-[WebCoreFullScreenWindow cancelOperation:]):
(-[WebCoreFullScreenWindow performClose:]):
(-[WebCoreFullScreenWindow setStyleMask:]):
* Source/WebCore/platform/mac/WebCoreNSFontManagerExtras.mm:
(WebCore::computedFontChanges):
(WebCore::computedFontAttributeChanges):
* Source/WebCore/platform/mac/WebCoreNSURLExtras.mm:
(WebCore::URLByCanonicalizingURL):
* Source/WebCore/platform/mac/WebCoreView.mm:
(-[NSClipView _webcore_effectiveFirstResponder]):
(-[NSScrollView _webcore_effectiveFirstResponder]):
* Source/WebCore/platform/mac/WebPlaybackControlsManager.mm:
(-[WebPlaybackControlsManager
setAudioMediaSelectionOptions:withSelectedIndex:]):
(-[WebPlaybackControlsManager
setLegibleMediaSelectionOptions:withSelectedIndex:]):
* Source/WebCore/platform/mac/WidgetMac.mm:
(WebCore::safeRemoveFromSuperview):
(WebCore::Widget::paint):
* Source/WebCore/platform/mediastream/mac/CoreAudioSharedUnit.mm:
(-[WebCoreAudioInputMuteChangeListener handleMuteStatusChangedNotification:]):
* Source/WebCore/platform/network/cocoa/CookieCocoa.mm:
* Source/WebCore/platform/network/cocoa/CredentialCocoa.mm:
(WebCore::Credential::Credential):
* Source/WebCore/platform/network/cocoa/NetworkLoadMetrics.mm:
(WebCore::copyTimingData):
* Source/WebCore/platform/network/cocoa/NetworkStorageSessionCocoa.mm:
(WebCore::NetworkStorageSession::getAllCookies):
(WebCore::NetworkStorageSession::getCookies):
(WebCore::NetworkStorageSession::deleteCookiesForHostnames):
* Source/WebCore/platform/network/cocoa/ResourceRequestCocoa.mm:
(WebCore::ResourceRequest::doUpdateResourceRequest):
(WebCore::ResourceRequest::doUpdatePlatformRequest):
* Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.mm:
(-[WebCoreNSURLSession taskCompleted:]):
(-[WebCoreNSURLSession addDelegateOperation:]):
(-[WebCoreNSURLSessionDataTask resume]):
(-[WebCoreNSURLSessionDataTask resource:receivedResponse:completionHandler:]):
(-[WebCoreNSURLSessionDataTask resource:receivedData:]):
(-[WebCoreNSURLSessionDataTask
resource:receivedRedirect:request:completionHandler:]):
* Source/WebCore/platform/network/mac/ResourceErrorMac.mm:
(WebCore::ResourceError::mapPlatformError):
(WebCore::ResourceError::platformLazyInit):
(WebCore::ResourceError::blockedTrackerHostName const):
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
(WebCore::RenderThemeCocoa::mediaControlsScripts):
(WebCore::RenderThemeCocoa::mediaControlsImageDataForIconNameAndType):
(WebCore::RenderThemeCocoa::mediaControlsBase64StringForIconNameAndType):
* Source/WebCore/rendering/mac/RenderThemeMac.mm:
(-[WebCoreRenderThemeNotificationObserver init]):
(WebCore::RenderThemeMac::systemColor const):
(WebCore::iconForAttachment):
* Source/WebCore/testing/cocoa/WebViewVisualIdentificationOverlay.mm:
(-[WebViewVisualIdentificationOverlay initWithWebView:kind:deprecated:]):
(-[WebViewVisualIdentificationOverlay dealloc]):
Canonical link: https://commits.webkit.org/301980@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications