Bug 259113

Summary: Allow truncateDatabaseFile on macOS
Product: WebKit Reporter: Ben Nham <nham>
Component: Website StorageAssignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, sihui_liu, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ben Nham 2023-07-11 10:06:11 PDT
The truncateDatabaseFile SPI is only enabled on iOS right now. Recently we have been trying to unifying our SQLite implementation across macOS and iOS to make things more maintainable (e.g. 265918@main and 265791@main). We should enable this SPI on all Cocoa platforms since there's nothing iOS-specific about it.
Comment 1 Radar WebKit Bug Importer 2023-07-11 10:06:35 PDT
<rdar://problem/112086693>
Comment 2 Ben Nham 2023-07-11 10:10:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15744
Comment 3 EWS 2024-01-07 20:49:48 PST
Committed 272753@main (27d1774b4484): <https://commits.webkit.org/272753@main>

Reviewed commits have been landed. Closing PR #15744 and removing active labels.