Bug 188714

Summary: WKWebsiteDataStore HSTS cache information collection only for sites on preload list
Product: WebKit Reporter: Jay Mulani <jmulani>
Component: WebKit APIAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, jmulani, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Jay Mulani 2018-08-17 18:09:54 PDT
Step 1: visit tlstestwebkit.org
Step 2: Click HSTS link
Step 3: Click HSTS Preload link
Step 4: Verify that both sites appear in HSTS.plist located in ~/Library/Cookies
Step 5: When I call the WKWebsiteDataStore API fetchDataRecordsOfTypes with HSTS Cache I am only getting HSTS Cache storage recording for the HSTS Preload site
Step 6: Both sites should show having HSTS Cache storage after calling the fetchDataRecordsOfTypes API on both sites
Comment 1 Radar WebKit Bug Importer 2018-08-17 18:12:07 PDT
<rdar://problem/43448101>