Bug 259515

Summary: [GLib] TestWebsiteData/hsts test needs new base data directories for new API
Product: WebKit Reporter: Amanda Falke <abstractmachines>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Amanda Falke 2023-07-25 18:04:17 PDT
As mentioned in 260511@main and 261018@main, A GLib-specific bug in the
defaultHSTSStorageDirectory is fixed, but only for the new API versions.

The HSTS database goes under the base cache directory if provided, but
if not provided it goes under the base data directory; leave it broken in
the original API versions to avoid leaking the HSTS database on disk.
Also, move it to a subdirectory in the new API version.

We need to update these directories for TestWebsiteData/hsts API tests.
Comment 1 EWS 2023-07-26 13:07:36 PDT
Committed 266326@main (c646f2370d23): <https://commits.webkit.org/266326@main>

Reviewed commits have been landed. Closing PR #16093 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2023-07-26 13:08:22 PDT
<rdar://problem/112929346>