| Summary: | Use ICU instead of relying on hard-coded string equality checks in ModalContainerControlClassifier | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Wenson Hsieh <wenson_hsieh> | ||||||
| Component: | Platform | Assignee: | Wenson Hsieh <wenson_hsieh> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | akeerthi, thorton, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Wenson Hsieh
2021-12-24 16:36:13 PST
Created attachment 447953 [details]
Patch
Comment on attachment 447953 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447953&action=review > Source/WebKit/UIProcess/Cocoa/ModalContainerControlClassifier.mm:81 > +class ScopedSpoofChecker { The word "Scoped" seems unnecessary? I don't think every RAII thing needs "Scoped" in the name. ScopedRefPtr? Is just a SpoofChecker. Or StringSpoofChecker or something. Comment on attachment 447953 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447953&action=review Thanks for the review! >> Source/WebKit/UIProcess/Cocoa/ModalContainerControlClassifier.mm:81 >> +class ScopedSpoofChecker { > > The word "Scoped" seems unnecessary? I don't think every RAII thing needs "Scoped" in the name. ScopedRefPtr? > > Is just a SpoofChecker. Or StringSpoofChecker or something. Fair point — changed to just `SpoofChecker` Created attachment 448339 [details]
Patch for landing
Committed r287592 (245721@main): <https://commits.webkit.org/245721@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448339 [details]. |