Closed
Bug 950785
Opened 11 years ago
Closed 11 years ago
Remove unused selectWord and selectWordContext
Categories
(Firefox for Android Graveyard :: Text Selection, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 29
People
(Reporter: Margaret, Unassigned)
Details
(Whiteboard: [lang=js][mentor=margaret])
Attachments
(1 file, 1 obsolete file)
1.99 KB,
patch
|
Margaret
:
review+
|
Details | Diff | Splinter Review |
Looks like we got rid of the "Select Word" context menu item, so let's get rid of these unused functions.
Reporter | ||
Comment 1•11 years ago
|
||
In fact, it looks like there are other unused function in ClipboardHelper, like selectAll and searchWith:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#6236
Updated•11 years ago
|
Assignee: nobody → mozbugs.retornam
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Comment on attachment 8348905 [details] [diff] [review]
bug-950785.patch
Review of attachment 8348905 [details] [diff] [review]:
-----------------------------------------------------------------
This is looking good, but I found even more things we can remove!
(I don't know if you intended for me to review this patch, but in the future, you should be sure to set the review? or feedback? flag when you want to get review/feedback on a patch.)
::: mobile/android/chrome/content/browser.js
@@ -6243,3 @@
> share: function() {
> SelectionHandler.shareSelection();
> },
I know you were just following what I posted in the description, but it looks like this share method also isn't used.
Doing a search through the other ClipboardHelper methods, it also looks like copy isn't used.
I filed bug 951374 about some more ways we can clean up ClipboardHelper, so you may be interested in that as well :)
Attachment #8348905 -
Flags: feedback+
Comment 4•11 years ago
|
||
updated patch to remove share as well. I've cc'ed myself on the other bug.
Attachment #8348905 -
Attachment is obsolete: true
Attachment #8349061 -
Flags: review?(margaret.leibovic)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 8349061 [details] [diff] [review]
bug-950785.patch
Looks good, thanks!
Attachment #8349061 -
Flags: review?(margaret.leibovic) → review+
Reporter | ||
Comment 6•11 years ago
|
||
This will conflict with wesj's patch in bug 950464, but maybe he can land this for you and resolve the conflict while he does that :)
Comment 7•11 years ago
|
||
(In reply to :Margaret Leibovic from comment #6)
> This will conflict with wesj's patch in bug 950464, but maybe he can land
> this for you and resolve the conflict while he does that :)
That will be great. Thanks.
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Updated•11 years ago
|
Assignee: mozbugs.retornam → nobody
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•