Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3fbec4363b8205c7cdbbb209ab6a241e8db3e0bb
      
https://github.com/WebKit/WebKit/commit/3fbec4363b8205c7cdbbb209ab6a241e8db3e0bb
  Author: Rupin Mittal <[email protected]>
  Date:   2025-07-06 (Sun, 06 Jul 2025)

  Changed paths:
    M Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebKit/UIProcess/API/C/WKPage.cpp
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.h

  Log Message:
  -----------
  Fix static analyzer warnings in WKPage
https://bugs.webkit.org/show_bug.cgi?id=295471
rdar://155068409

Reviewed by Chris Dumez.

* Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebKit/UIProcess/API/C/WKPage.cpp:
(WKPageGetContext):
(WKPageCopyPageConfiguration):
(WKPageLoadURL):
(WKPageLoadURLWithShouldOpenExternalURLsPolicy):
(WKPageLoadURLWithUserData):
(WKPageLoadURLRequest):
(WKPageLoadURLRequestWithUserData):
(WKPageLoadFile):
(WKPageLoadFileWithUserData):
(WKPageLoadData):
(WKPageLoadDataWithUserData):
(loadString):
(WKPageLoadAlternateHTMLStringWithUserData):
(WKPageStopLoading):
(WKPageReload):
(WKPageReloadWithoutContentBlockers):
(WKPageReloadFromOrigin):
(WKPageReloadExpiredOnly):
(WKPageTryClose):
(WKPageClose):
(WKPageIsClosed):
(WKPageGoForward):
(WKPageCanGoForward):
(WKPageGoBack):
(WKPageCanGoBack):
(WKPageGoToBackForwardListItem):
(WKPageTryRestoreScrollPosition):
(WKPageGetBackForwardList):
(WKPageWillHandleHorizontalScrollEvents):
(WKPageUpdateWebsitePolicies):
(WKPageCopyTitle):
(WKPageGetMainFrame):
(WKPageGetFocusedFrame):
(WKPageGetRenderTreeSize):
(WKPageGetWebsiteDataStore):
(WKPageGetInspector):
(WKPageGetEstimatedProgress):
(WKPageCopyUserAgent):
(WKPageCopyApplicationNameForUserAgent):
(WKPageSetApplicationNameForUserAgent):
(WKPageCopyCustomUserAgent):
(WKPageSetCustomUserAgent):
(WKPageSupportsTextEncoding):
(WKPageCopyCustomTextEncodingName):
(WKPageSetCustomTextEncodingName):
(WKPageTerminate):
(WKPageResetStateBetweenTests):
(WKPageCopySessionState):
(restoreFromSessionState):
(WKPageGetTextZoomFactor):
(WKPageGetBackingScaleFactor):
(WKPageSetCustomBackingScaleFactor):
(WKPageSetCustomBackingScaleFactorWithCallback):
(WKPageSupportsTextZoom):
(WKPageSetTextZoomFactor):
(WKPageGetPageZoomFactor):
(WKPageSetPageZoomFactor):
(WKPageSetPageAndTextZoomFactors):
(WKPageSetScaleFactor):
(WKPageGetScaleFactor):
(WKPageSetUseFixedLayout):
(WKPageSetFixedLayoutSize):
(WKPageUseFixedLayout):
(WKPageFixedLayoutSize):
(WKPageListenForLayoutMilestones):
(WKPageHasHorizontalScrollbar):
(WKPageHasVerticalScrollbar):
(WKPageSetSuppressScrollbarAnimations):
(WKPageAreScrollbarAnimationsSuppressed):
(WKPageIsPinnedToLeftSide):
(WKPageIsPinnedToRightSide):
(WKPageIsPinnedToTopSide):
(WKPageIsPinnedToBottomSide):
(WKPageRubberBandsAtLeft):
(WKPageSetRubberBandsAtLeft):
(WKPageRubberBandsAtRight):
(WKPageSetRubberBandsAtRight):
(WKPageRubberBandsAtTop):
(WKPageSetRubberBandsAtTop):
(WKPageRubberBandsAtBottom):
(WKPageSetRubberBandsAtBottom):
(WKPageVerticalRubberBandingIsEnabled):
(WKPageSetEnableVerticalRubberBanding):
(WKPageHorizontalRubberBandingIsEnabled):
(WKPageSetEnableHorizontalRubberBanding):
(WKPageSetBackgroundExtendsBeyondPage):
(WKPageBackgroundExtendsBeyondPage):
(WKPageSetPaginationMode):
(WKPageGetPaginationMode):
(WKPageSetPaginationBehavesLikeColumns):
(WKPageGetPaginationBehavesLikeColumns):
(WKPageSetPageLength):
(WKPageGetPageLength):
(WKPageSetGapBetweenPages):
(WKPageGetGapBetweenPages):
(WKPageGetPageCount):
(WKPageCanDelete):
(WKPageHasSelectedRange):
(WKPageIsContentEditable):
(WKPageSetMaintainsInactiveSelection):
(WKPageCenterSelectionInVisibleArea):
(WKPageFindStringMatches):
(WKPageGetImageForFindMatch):
(WKPageSelectFindMatch):
(WKPageIndicateFindMatch):
(WKPageFindString):
(WKPageHideFindUI):
(WKPageCountStringMatches):
(WKPageSetPageContextMenuClient):
(WKPageSetPageDiagnosticLoggingClient):
(WKPageSetPageFindClient):
(WKPageSetPageFindMatchesClient):
(WKPageSetPageInjectedBundleClient):
(WKCompletionListenerComplete):
(WKPageSetFullScreenClientForTesting):
(WKPageRequestExitFullScreen):
(WKPageSetPageFormClient):
(WKPageSetPageLoaderClient):
(WKPageSetPagePolicyClient):
(WKPageRunBeforeUnloadConfirmPanelResultListenerCall):
(WKPageRunJavaScriptAlertResultListenerCall):
(WKPageRunJavaScriptConfirmResultListenerCall):
(WKPageRunJavaScriptPromptResultListenerCall):
(WKPageRequestStorageAccessConfirmResultListenerCall):
(WKPageSetPageUIClient):
(WKPageSetPageStateClient):
(WKPageEvaluateJavaScriptInMainFrame):
(WKPageRenderTreeExternalRepresentation):
(WKPageGetSourceForFrame):
(WKPageGetContentsAsString):
(WKPageGetBytecodeProfile):
(WKPageGetSamplingProfilerOutput):
(WKPageGetSelectionAsWebArchiveData):
(WKPageGetContentsAsMHTMLData):
(WKPageForceRepaint):
(WKPageCopyPendingAPIRequestURL):
(WKPageCopyActiveURL):
(WKPageCopyProvisionalURL):
(WKPageCopyCommittedURL):
(WKPageCopyStandardUserAgentWithApplicationName):
(WKPageValidateCommand):
(WKPageExecuteCommand):
(WKPageComputePagesForPrinting):
(WKPageDrawPagesToPDF):
(WKPageBeginPrinting):
(WKPageEndPrinting):
(WKPageGetIsControlledByAutomation):
(WKPageSetControlledByAutomation):
(WKPageGetAllowsRemoteInspection):
(WKPageSetAllowsRemoteInspection):
(WKPageShowWebInspectorForTesting):
(WKPageSetMediaVolume):
(WKPageSetMuted):
(WKPageSetMediaCaptureEnabled):
(WKPageGetMediaCaptureEnabled):
(WKPageDidAllowPointerLock):
(WKPageClearUserMediaState):
(WKPageDidDenyPointerLock):
(WKPagePostMessageToInjectedBundle):
(WKPageCopyRelatedPages):
(WKPageLookUpFrameFromHandle):
(WKPageSetMayStartMediaWhenInWindow):
(WKPageSelectContextMenuItem):
(WKPageGetScrollPinningBehavior):
(WKPageSetScrollPinningBehavior):
(WKPageGetAddsVisitedLinks):
(WKPageSetAddsVisitedLinks):
(WKPageIsPlayingAudio):
(WKPageGetMediaState):
(WKPageClearWheelEventTestMonitor):
(WKPageCallAfterNextPresentationUpdate):
(WKPageSetIgnoresViewportScaleLimits):
(WKPageSetUseDarkAppearanceForTesting):
(WKPageGetProcessIdentifier):
(WKPageGetGPUProcessIdentifier):
(WKPageGetApplicationManifest):
(WKPageDumpPrivateClickMeasurement):
(WKPageClearPrivateClickMeasurement):
(WKPageSetPrivateClickMeasurementOverrideTimerForTesting):
(WKPageMarkAttributedPrivateClickMeasurementsAsExpiredForTesting):
(WKPageSetPrivateClickMeasurementEphemeralMeasurementForTesting):
(WKPageSimulatePrivateClickMeasurementSessionRestart):
(WKPageSetPrivateClickMeasurementTokenPublicKeyURLForTesting):
(WKPageSetPrivateClickMeasurementTokenSignatureURLForTesting):
(WKPageSetPrivateClickMeasurementAttributionReportURLsForTesting):
(WKPageMarkPrivateClickMeasurementsAsExpiredForTesting):
(WKPageSetPCMFraudPreventionValuesForTesting):
(WKPageSetPrivateClickMeasurementAppBundleIDForTesting):
(WKPageSetMockCameraOrientationForTesting):
(WKPageSetMockCaptureDevicesInterrupted):
(WKPageTriggerMockCaptureConfigurationChange):
(WKPageLoadedSubresourceDomains):
(WKPageClearLoadedSubresourceDomains):
(WKPageSetMediaCaptureReportingDelayForTesting):
(WKPageDispatchActivityStateUpdateForTesting):
(WKPageClearNotificationPermissionState):
(WKPageExecuteCommandForTesting):
(WKPageIsEditingCommandEnabledForTesting):
(WKPageSetPermissionLevelForTesting):
(WKPageSetObscuredContentInsetsForTesting):
(WKPageSetPageScaleFactorForTesting):
(WKPageClearBackForwardListForTesting):
(WKPageSetTracksRepaintsForTesting):
(WKPageDisplayAndTrackRepaintsForTesting):
(WKPageFindStringForTesting):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::protectedFocusedFrame const):
* Source/WebKit/UIProcess/WebPageProxy.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to