Bug 312171

Summary: Remove unused static constants
Product: WebKit Reporter: Jani Hautakangas <jani>
Component: New BugsAssignee: Jani Hautakangas <jani>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jani Hautakangas
Reported 2026-04-13 10:54:57 PDT
Following files have unused static constants Source/WebCore/workers/service/server/SWServerWorker.cpp - static constexpr size_t maxRouteConditionCount = 1024 Source/WebKit/NetworkProcess/NetworkDataTaskBlob.cpp - static const int httpOK = 200 - static const int httpPartialContent = 206 - static constexpr auto httpOKText = "OK"_s - static constexpr auto httpPartialContentText = "Partial Content"_s Source/WebKit/UIProcess/WebsiteData/EnhancedSecuritySitesPersistence.cpp - static constexpr auto siteIndexName = "idx_sites_site"_s
Attachments
Jani Hautakangas
Comment 1 2026-04-13 10:58:33 PDT
EWS
Comment 2 2026-04-16 09:04:38 PDT
Committed 311373@main (e31d63172e4e): <https://commits.webkit.org/311373@main> Reviewed commits have been landed. Closing PR #62646 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-04-16 09:05:13 PDT
Note You need to log in before you can comment on or make changes to this bug.