WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
234677
Use ICU instead of relying on hard-coded string equality checks in ModalContainerControlClassifier
https://bugs.webkit.org/show_bug.cgi?id=234677
Summary
Use ICU instead of relying on hard-coded string equality checks in ModalConta...
Wenson Hsieh
Reported
2021-12-24 16:36:13 PST
.
Attachments
Patch
(6.86 KB, patch)
2021-12-24 16:48 PST
,
Wenson Hsieh
thorton
: review+
Details
Formatted Diff
Diff
Patch for landing
(6.71 KB, patch)
2022-01-04 15:03 PST
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2021-12-24 16:48:53 PST
Created
attachment 447953
[details]
Patch
Radar WebKit Bug Importer
Comment 2
2021-12-31 16:37:19 PST
<
rdar://problem/87036844
>
Tim Horton
Comment 3
2022-01-04 14:32:18 PST
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.
Wenson Hsieh
Comment 4
2022-01-04 14:33:34 PST
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`
Wenson Hsieh
Comment 5
2022-01-04 15:03:11 PST
Created
attachment 448339
[details]
Patch for landing
EWS
Comment 6
2022-01-04 15:32:32 PST
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]
.
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