WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
237283
Migrate third-party IndexedDB data to GeneralStorageDirectory
https://bugs.webkit.org/show_bug.cgi?id=237283
Summary
Migrate third-party IndexedDB data to GeneralStorageDirectory
Sihui Liu
Reported
2022-02-28 12:38:45 PST
...
Attachments
Patch
(25.73 KB, patch)
2022-02-28 13:57 PST
,
Sihui Liu
no flags
Details
Formatted Diff
Diff
Patch for landing
(26.33 KB, patch)
2022-02-28 22:47 PST
,
Sihui Liu
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sihui Liu
Comment 1
2022-02-28 13:57:53 PST
Created
attachment 453422
[details]
Patch
Chris Dumez
Comment 2
2022-02-28 19:11:42 PST
Comment on
attachment 453422
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=453422&action=review
> Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBPersistence.mm:407 > + auto preferences = (__bridge WKPreferencesRef)[configuration preferences];
Why cast to C API? Let's just use the Cocoa API: `[[configuration preferences] _setStorageBlockingPolicy:_WKStorageBlockingPolicyAllowAll];` You may have to include WKPreferencesPrivate.h if not already included. Mixing C and Cocoa API is a bit ugly :)
Sihui Liu
Comment 3
2022-02-28 20:01:28 PST
Comment on
attachment 453422
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=453422&action=review
>> Tools/TestWebKitAPI/Tests/WebKitCocoa/IndexedDBPersistence.mm:407 >> + auto preferences = (__bridge WKPreferencesRef)[configuration preferences]; > > Why cast to C API? > > Let's just use the Cocoa API: > `[[configuration preferences] _setStorageBlockingPolicy:_WKStorageBlockingPolicyAllowAll];` > > You may have to include WKPreferencesPrivate.h if not already included. > > Mixing C and Cocoa API is a bit ugly :)
Sure :) I didn't see the Cocoa API
Sihui Liu
Comment 4
2022-02-28 22:47:41 PST
Created
attachment 453477
[details]
Patch for landing
EWS
Comment 5
2022-03-01 00:02:10 PST
Committed
r290632
(
247905@main
): <
https://commits.webkit.org/247905@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 453477
[details]
.
Radar WebKit Bug Importer
Comment 6
2022-03-01 00:03:18 PST
<
rdar://problem/89605260
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug