| Summary: | Regression (r282130): [ macOS iOS wk2 ] imported/w3c/web-platform-tests/storage/persisted.https.any.html is failing | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | ayumi_kojima | ||||||||||
| Component: | New Bugs | Assignee: | Sihui Liu <sihui_liu> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | cdumez, darin, ehutchison, sihui_liu, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=229925 | ||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 229811 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
ayumi_kojima
2021-09-08 10:18:02 PDT
Created attachment 437653 [details]
Patch
Comment on attachment 437653 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=437653&action=review > Source/WebKit/NetworkProcess/NetworkProcess.cpp:2424 > + completionHandler(); This call the completion handler before the storage is actually cleared on the background thread. > Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:2159 > + auto callbackAggregator = CallbackAggregator::create(WTFMove(completionHandler)); Why are we using a callback aggregator for a single function call? Just pass the completion handler to clearStorage(). > Tools/ChangeLog:9 > + Clear storage states between tests so test does not affect each other. test does -> tests do Created attachment 437654 [details]
Patch
Created attachment 437655 [details]
Patch
Comment on attachment 437655 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=437655&action=review > Source/WebKit/ChangeLog:11 > + Coverd by existing tests. Typo: Covered Created attachment 437661 [details]
Patch for landing
Committed r282170 (241462@main): <https://commits.webkit.org/241462@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 437661 [details]. *** Bug 230068 has been marked as a duplicate of this bug. *** |