Closed
Bug 1219895
Opened 10 years ago
Closed 10 years ago
Cleanup the 'share.1' telemetry probes by adding extra context
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(firefox43 verified, firefox44 fixed, firefox45 fixed, b2g-v2.5 fixed)
RESOLVED
FIXED
Firefox 45
People
(Reporter: mfinkle, Assigned: mfinkle)
Details
Attachments
(1 file)
|
8.44 KB,
patch
|
Margaret
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
We have a lot of "share.1 > list" probes without any Extra context. This patch adds some context, making it easier to identify the code paths.
I also removed a use-once method, moving the code to where it was used. This made it easier to add the specific context as well.
Attachment #8680830 -
Flags: review?(margaret.leibovic)
Comment 1•10 years ago
|
||
Comment on attachment 8680830 [details] [diff] [review]
shareevent-cleanup v0.1
Review of attachment 8680830 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/BrowserApp.java
@@ +3225,5 @@
> return true;
> }
>
> if (itemId == R.id.share) {
> + Tab tab = Tabs.getInstance().getSelectedTab();
Does this compile? Looks like `tab` is already declared above.
Attachment #8680830 -
Flags: review?(margaret.leibovic) → review+
| Assignee | ||
Comment 2•10 years ago
|
||
(In reply to :Margaret Leibovic from comment #1)
> Comment on attachment 8680830 [details] [diff] [review]
> shareevent-cleanup v0.1
>
> Review of attachment 8680830 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: mobile/android/base/BrowserApp.java
> @@ +3225,5 @@
> > return true;
> > }
> >
> > if (itemId == R.id.share) {
> > + Tab tab = Tabs.getInstance().getSelectedTab();
>
> Does this compile? Looks like `tab` is already declared above.
It does not. I dropped the | Tab | part. I can't figure out why we ever declared 'tab' and 'intent' at the top of the method.
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Comment 5•10 years ago
|
||
| bugherder uplift | ||
status-b2g-v2.5:
--- → fixed
| Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8680830 [details] [diff] [review]
shareevent-cleanup v0.1
Approval Request Comment
[Feature/regressing bug #]:
[User impact if declined]: We can always use better telemetry
[Describe test coverage new/current, TreeHerder]: Working fine on Nightly
[Risks and why]: Low. Just adds some extra hints
[String/UUID change made/needed]: None
Attachment #8680830 -
Flags: approval-mozilla-beta?
Attachment #8680830 -
Flags: approval-mozilla-aurora?
Comment 7•10 years ago
|
||
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
status-b2g-v2.5:
fixed → ---
Updated•10 years ago
|
Comment 8•10 years ago
|
||
Comment on attachment 8680830 [details] [diff] [review]
shareevent-cleanup v0.1
Should be in 43 beta 2.
Attachment #8680830 -
Flags: approval-mozilla-beta?
Attachment #8680830 -
Flags: approval-mozilla-beta+
Attachment #8680830 -
Flags: approval-mozilla-aurora?
Attachment #8680830 -
Flags: approval-mozilla-aurora+
Comment 9•10 years ago
|
||
| bugherder uplift | ||
Comment 10•10 years ago
|
||
this doesn't apply cleanly to beta:
grafting 313464:ce897c30d505 "Bug 1219895 - Cleanup the 'share.1' telemetry probes by adding extra context. r=margaret, a=sylvestre"
merging mobile/android/base/BrowserApp.java
warning: conflicts during merge.
merging mobile/android/base/BrowserApp.java incomplete! (edit conflicts, then use 'hg resolve --mark')
merging mobile/android/base/GeckoApp.java
merging mobile/android/base/home/HomeFragment.java
merging mobile/android/base/prompts/PromptListAdapter.java
merging mobile/android/base/widget/GeckoActionProvider.java
merging toolkit/components/reader/AboutReader.jsm
abort: unresolved conflicts, can't continue
(use hg resolve and hg graft --continue)
Tomcats-MacBook-Pro-2:mozilla-central Tomcat$
Flags: needinfo?(mark.finkle)
Comment 11•10 years ago
|
||
| bugherder uplift | ||
status-b2g-v2.5:
--- → fixed
| Assignee | ||
Comment 12•10 years ago
|
||
Flags: needinfo?(mark.finkle)
| Assignee | ||
Comment 13•10 years ago
|
||
... and bustage fix:
https://hg.mozilla.org/releases/mozilla-beta/rev/74993763ef07
Comment 14•10 years ago
|
||
Verified as fixed on Firefox 43 Beta 4
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
•