WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
127831
Rename notifyRendererOfSelectionChange
https://bugs.webkit.org/show_bug.cgi?id=127831
Summary
Rename notifyRendererOfSelectionChange
Ryosuke Niwa
Reported
2014-01-28 23:36:44 PST
notifyRendererOfSelectionChange doesn't notify renderer EVER. The name comes from the era where shadow DOM was a render tree concept. The sole purpose of this function is to update text form controls' selection cache so it should be named so.
Attachments
Cleanup
(6.16 KB, patch)
2014-01-29 00:25 PST
,
Ryosuke Niwa
koivisto
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2014-01-29 00:25:53 PST
Created
attachment 222556
[details]
Cleanup
Ryosuke Niwa
Comment 2
2014-01-29 01:27:48 PST
Committed
r163012
: <
http://trac.webkit.org/changeset/163012
>
Darin Adler
Comment 3
2014-01-29 10:14:50 PST
Comment on
attachment 222556
[details]
Cleanup View in context:
https://bugs.webkit.org/attachment.cgi?id=222556&action=review
> Source/WebCore/ChangeLog:8 > + Renamed notifyRendererOfSelectionChange to updateSelectionCachesIfSelectionIsInsideTextFormControl.
I think that the name updateFormControlSelectionCaches would be better. It’s true that there is nothing to update if the selection is not inside a text form control, but I don’t think that needs to be stated in the function name.
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