Bug 280911

Summary: WebKit's Swift overlay uses Network.framework SPI
Product: WebKit Reporter: Elliott Williams <emw>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 280734    
Bug Blocks:    

Elliott Williams
Reported 2024-10-04 15:23:59 PDT
It imports the "CTypeConversion" SPI interface. These SPI are new members of existing types, so we cannot do the earlier approaches of importing the underlying module and re-declaring the types we need [1]. We could redeclare the entire module, like we've done for private frameworks [2], but that's quite brittle. In the meantime, WebKit itself does not use the Swift overlay interfaces, and we never tried to build them with public SDKs before https://bugs.webkit.org/show_bug.cgi?id=280734, so keeping these the Network overlays compiled out does not block the Swift overlay merge process. [1]: https://commits.webkit.org/283222@main [2]: https://commits.webkit.org/278332@main
Attachments
Radar WebKit Bug Importer
Comment 1 2024-10-04 15:25:42 PDT
Elliott Williams
Comment 2 2025-10-01 12:02:54 PDT
The SPI import was removed in https://bugs.webkit.org/show_bug.cgi?id=293848.
Note You need to log in before you can comment on or make changes to this bug.