Bug 234569

Summary: Don't create LocalStorage database for read if it does not exist
Product: WebKit Reporter: Sihui Liu <sihui_liu>
Component: New BugsAssignee: Sihui Liu <sihui_liu>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing
none
Patch for landing none

Description Sihui Liu 2021-12-21 10:40:11 PST
...
Comment 1 Sihui Liu 2021-12-21 10:45:21 PST
Created attachment 447734 [details]
Patch
Comment 2 Alex Christensen 2021-12-23 10:22:39 PST
Comment on attachment 447734 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=447734&action=review

> Tools/TestWebKitAPI/Tests/WebKitCocoa/LocalStorageDatabaseTracker.mm:35
> +static NSString *expectedMessage;

Add an ivar to LocalStorageUIDelegate instead of a new static global, which I've been working to remove in TestWebKitAPI.
[[LocalStorageUIDelegate alloc] initWithExpectedMessage:@"testValue"]
Comment 3 Sihui Liu 2021-12-23 16:40:34 PST
Created attachment 447918 [details]
Patch for landing
Comment 4 Sihui Liu 2021-12-23 16:55:39 PST
Created attachment 447921 [details]
Patch for landing
Comment 5 EWS 2021-12-23 17:50:35 PST
Committed r287418 (245553@main): <https://commits.webkit.org/245553@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 447921 [details].
Comment 6 Radar WebKit Bug Importer 2021-12-23 17:51:18 PST
<rdar://problem/86870643>