Closed
Bug 821777
Opened 12 years ago
Closed 12 years ago
Populate flash version in telemetry data
Categories
(Firefox for Android Graveyard :: Plugins, defect)
Tracking
(firefox18 fixed, firefox19 fixed, firefox20 fixed, b2g18 fixed)
RESOLVED
FIXED
Firefox 20
People
(Reporter: snorp, Assigned: snorp)
References
Details
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
snorp
:
review+
akeybl
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Right now telemtry sends flash version information on desktop, but not on Android. It would be nice to have this.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #692342 -
Flags: review?(joshmoz)
Comment on attachment 692342 [details] [diff] [review]
Get some kind of version information into nsPluginTag for Flash on Android
Review of attachment 692342 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/plugins/base/nsPluginHost.cpp
@@ +2947,5 @@
> + // Flash on Android does not populate the version field, but it is tacked on to the description.
> + // For example, "Shockwave Flash 11.1 r115"
> + if (PL_strncmp("Shockwave Flash ", description, 16) == 0 && description[16]) {
> + version = &description[16];
> + description[15] = '\0';
Comment on what you're doing here. Looks like you're cutting the version off of the description field so that it doesn't show up later, but it isn't obvious why you're doing that.
I'd recommend not doing it - doesn't seem like potentially messing with compatibility for our previous behavior is worth a slightly cleaner description field.
Attachment #692342 -
Flags: review?(joshmoz) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #692342 -
Attachment is obsolete: true
Assignee | ||
Updated•12 years ago
|
Attachment #692931 -
Flags: review+
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Josh Aas (Mozilla Corporation) from comment #2)
> Comment on attachment 692342 [details] [diff] [review]
> Get some kind of version information into nsPluginTag for Flash on Android
>
> Review of attachment 692342 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: dom/plugins/base/nsPluginHost.cpp
> @@ +2947,5 @@
> > + // Flash on Android does not populate the version field, but it is tacked on to the description.
> > + // For example, "Shockwave Flash 11.1 r115"
> > + if (PL_strncmp("Shockwave Flash ", description, 16) == 0 && description[16]) {
> > + version = &description[16];
> > + description[15] = '\0';
>
> Comment on what you're doing here. Looks like you're cutting the version off
> of the description field so that it doesn't show up later, but it isn't
> obvious why you're doing that.
>
> I'd recommend not doing it - doesn't seem like potentially messing with
> compatibility for our previous behavior is worth a slightly cleaner
> description field.
Fair enough. Latest patch only sets the version and leaves the description alone. Carryied the r+ forward.
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 692931 [details] [diff] [review]
Get some kind of version information into nsPluginTag for Flash on Android
[Approval Request Comment]
I want this in Aurora and Beta pronto. Very low risk, gives very useful information about Flash usage in the wild.
Attachment #692931 -
Flags: approval-mozilla-beta?
Attachment #692931 -
Flags: approval-mozilla-aurora?
Comment 8•12 years ago
|
||
Comment on attachment 692931 [details] [diff] [review]
Get some kind of version information into nsPluginTag for Flash on Android
We like low risk Telemetry fixes, and can back this out before our RC if anything goes awry. Please land on mozilla-beta no later than 12/26 to make it into FF18.
Attachment #692931 -
Flags: approval-mozilla-beta?
Attachment #692931 -
Flags: approval-mozilla-beta+
Attachment #692931 -
Flags: approval-mozilla-aurora?
Attachment #692931 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 9•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Comment 10•12 years ago
|
||
status-b2g18:
--- → fixed
Updated•6 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
•