Bug 259515 - [GLib] TestWebsiteData/hsts test needs new base data directories for new API
Summary: [GLib] TestWebsiteData/hsts test needs new base data directories for new API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-25 18:04 PDT by Amanda Falke
Modified: 2023-07-26 13:08 PDT (History)
1 user (show)

See Also:


Attachments

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