Bug 295185

Summary: [WebKitSwift] Some files within the module unnecessarily import itself
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: New BugsAssignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2025-06-29 18:15:48 PDT
`import WebKitSwift` from files under `Source/WebKit/WebKitSwift/` is redundant, so let's drop that. ``` Source/WebKit/WebKitSwift/IdentityDocumentServices/ISO18013MobileDocumentRequest+Extras.swift:28:8: warning: file 'ISO18013MobileDocumentRequest+Extras.swift' is part of module 'WebKitSwift'; ignoring import Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentPresentmentController.swift:29:8: warning: file 'WKIdentityDocumentPresentmentController.swift' is part of module 'WebKitSwift'; ignoring import Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentPresentmentMobileDocumentRequest+Extras.swift:28:8: warning: file 'WKIdentityDocumentPresentmentMobileDocumentRequest+Extras.swift' is part of module 'WebKitSwift'; ignoring import Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentPresentmentMobileDocumentRequest.swift:28:8: warning: file 'WKIdentityDocumentPresentmentMobileDocumentRequest.swift' is part of module 'WebKitSwift'; ignoring import Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentPresentmentRawRequest.swift:27:8: warning: file 'WKIdentityDocumentPresentmentRawRequest.swift' is part of module 'WebKitSwift'; ignoring import Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentPresentmentRequest.swift:27:8: warning: file 'WKIdentityDocumentPresentmentRequest.swift' is part of module 'WebKitSwift'; ignoring import Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentPresentmentResponse.swift:27:8: warning: file 'WKIdentityDocumentPresentmentResponse.swift' is part of module 'WebKitSwift'; ignoring import Source/WebKit/WebKitSwift/IdentityDocumentServices/WKIdentityDocumentRawRequestValidator.swift:28:8: warning: file 'WKIdentityDocumentRawRequestValidator.swift' is part of module 'WebKitSwift'; ignoring import ```
Attachments
Radar WebKit Bug Importer
Comment 1 2025-06-29 18:15:56 PDT
Abrar Rahman Protyasha
Comment 2 2025-06-29 18:18:17 PDT
EWS
Comment 3 2025-06-30 11:17:52 PDT
Committed 296812@main (3c41afd934ce): <https://commits.webkit.org/296812@main> Reviewed commits have been landed. Closing PR #47360 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.