Summary: | WebsiteDataStore.cpp uses switch statements for WebKit::ProcessAccessType enum that fall through ASSERT_NOT_REACHED() | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||
Component: | WebKit2 | Assignee: | Chris Dumez <cdumez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bfulgham, cdumez, darin, kkinnunen, webkit-bug-importer, wilander | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 234932 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2022-01-07 14:23:51 PST
Created attachment 449490 [details]
Patch
Comment on attachment 449490 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=449490&action=review > Source/WebKit/UIProcess/WebsiteData/WebsiteDataStore.cpp:550 > UNUSED_PARAM(isNonPersistentStore); I suggest we omit the argument name instead of using UNUSED_PARAM. Could even put it in comments. The reason I always try to avoid UNUSED_PARAM is that it doesn’t even prevent the code from using the parameter. But also, why are we even passing this boolean argument to this function? Let’s just omit it. Created attachment 449493 [details]
Patch
Committed r288238 (246192@main): <https://commits.webkit.org/246192@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 449493 [details]. |