Bug 259113 - Allow truncateDatabaseFile on macOS
Summary: Allow truncateDatabaseFile on macOS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Website Storage (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ben Nham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-11 10:06 PDT by Ben Nham
Modified: 2024-01-07 20:49 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.