_shareStringWithDefault is unused

RESOLVED FIXED in Firefox 42

Status

()

Firefox for Android
General
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: mcomella, Assigned: gioyik, Mentored)

Tracking

unspecified
Firefox 42
All
Android
Points:
---

Firefox Tracking Flags

(firefox42 fixed)

Details

(Whiteboard: [lang=js][good first bug])

Attachments

(1 attachment)

A definition and no uses:

https://mxr.mozilla.org/mozilla-central/search?string=_shareStringWithDefault&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central

Margaret, I'm not missing anything, right?
Flags: needinfo?(margaret.leibovic)

Comment 1

3 years ago
Looking at blame, this was added in this changeset:
http://hg.mozilla.org/mozilla-central/rev/02b6677f5f8d

And then its consumers were removed here:
http://hg.mozilla.org/mozilla-central/rev/c437a98128f4

I guess that "showAsActions" property just takes care of this for us now.

So yeah, I think you can kill this.
Flags: needinfo?(margaret.leibovic)
To start, set up a build environment - you can see the instructions here: https://wiki.mozilla.org/Mobile/Fennec/Android

Then, you'll need to create a patch to upload - see
https://wiki.mozilla.org/Mobile/Fennec/Android#Creating_commits_and_submitting_patches

If you need any help, you can reply to this bug, or feel free to message me on IRC - my nick is "mcomella" and you can find me in #mobile. If you need IRC setup instructions, see https://wiki.mozilla.org/IRC

Thanks and happy coding! ^_^
Mentor: michael.l.comella, margaret.leibovic
Whiteboard: [lang=js][good first bug]
(Assignee)

Comment 3

3 years ago
Created attachment 8637647 [details] [diff] [review]
1183902.patch
Attachment #8637647 - Flags: review?(michael.l.comella)
(Assignee)

Updated

3 years ago
Attachment #8637647 - Flags: review?(michael.l.comella)
(Assignee)

Updated

3 years ago
Attachment #8637647 - Flags: review?(michael.l.comella) → review?(margaret.leibovic)
(Assignee)

Comment 4

3 years ago
Hi,

I submitted a patch for this bug. Let me know if is a good one or needs modifications.

Thanks

P.S Sorry for the double review with the same person.
Comment on attachment 8637647 [details] [diff] [review]
1183902.patch

Review of attachment 8637647 [details] [diff] [review]:
-----------------------------------------------------------------

I made a push to our try test servers (above).

Once the push goes green, you can add the "checkin-needed" keyword [1] to get your patch checked in. Note that all patches added via checkin-needed keyword need an associated green try run. Let me know if you need help reading the results.

[1]: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch#Getting_the_patch_checked_into_the_tree
Attachment #8637647 - Flags: review?(michael.l.comella)
Attachment #8637647 - Flags: review?(margaret.leibovic)
Attachment #8637647 - Flags: review+
(Assignee)

Updated

3 years ago
Assignee: nobody → gioyik
(Assignee)

Comment 7

3 years ago
Michael,

Treeherder is showing 3 test as failed. Could you help me to understand how fix them?

Thanks
Flags: needinfo?(michael.l.comella)
(In reply to Giovanny Gongora [:gioyik] from comment #7)
> Treeherder is showing 3 test as failed. Could you help me to understand how
> fix them?

Our test suites often get intermittent failures and this looks like one of them. To check, you can see if the suite has been re-run (i.e. there is another test suite with the same name on the same device) and if that was green. Additionally, if you click a failing test suite, you can look at the bar on the bottom of the screen and see if it matches any existing known intermittent failures, which are also listed on that bar.

So this looks good to me and is ready for check-in!
Flags: needinfo?(michael.l.comella)
Flags: needinfo?(gioyik)
(Assignee)

Comment 9

3 years ago
That's good to know. Thank you for the feedback.
Flags: needinfo?(gioyik)
(Assignee)

Updated

3 years ago
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/f846219745ee
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox42: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
You need to log in before you can comment on or make changes to this bug.