Closed Bug 949345 Opened 11 years ago Closed 11 years ago

Get telemetry for non-default Cyrillic encodings

Categories

(Core :: Internationalization, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla29
Tracking Status
firefox28 --- fixed
firefox29 --- fixed

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file, 1 obsolete file)

To make a data-driven decision on bug 912466 and foreseeable similar requests, we should get telemetry for the non-windows-1251 Cyrillic encodings.
Attached patch Add telemetry probes (obsolete) — Splinter Review
Attachment #8346518 - Flags: review?(VYV03354)
Note: I don't expect us to remove ISO-8859-5 or KOI8-R. They are for reference to understanding the relative magnitude of IBM866.
Comment on attachment 8346518 [details] [diff] [review]
Add telemetry probes

As far as privacy goes, this is the same sort of stuff as bug 935453, but requesting privacy review anyway to be sure to comply with the rules.
Attachment #8346518 - Flags: review?(curtisk)
Attachment #8346518 - Flags: review?(curtisk) → review?(sstamm)
Comment on attachment 8346518 [details] [diff] [review]
Add telemetry probes

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

::: intl/uconv/ucvlatin/nsKOI8UToUnicode.cpp
@@ +19,5 @@
>    static const uint16_t g_utMappingTable[] = {
>  #include "koi8u.ut"
>    };
>  
> +  Telemetry::Accumulate(Telemetry::DECODER_INSTANTIATED_KOI8R, true);

DECODER_INSTANTIATED_KOI8U
Attachment #8346518 - Flags: review?(VYV03354) → review+
Curtis, I assume you want a privacy review but you didn't say anything when you assigned review to me.  What do you need?
Flags: needinfo?(curtisk)
(In reply to Sid Stamm [:geekboy or :sstamm] from comment #5)
> Curtis, I assume you want a privacy review but you didn't say anything when
> you assigned review to me.  What do you need?

I was tagged to privacy review the patch, but I don't think I'm qualified for that and since you did the review for bug 935453 I shifted the flag to you, sorry, guess I should have been more explicit when I flipped the flags. It's my first go around on something like this.
Flags: needinfo?(curtisk)
Comment on attachment 8346518 [details] [diff] [review]
Add telemetry probes

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

f=me.

Not r+ because this isn't a code review.  This is indeed the same type of thing as bug 935453, so has the same privacy risk and implications (minor).  Looks fine.
Attachment #8346518 - Flags: review?(sstamm) → feedback+
(In reply to Masatoshi Kimura [:emk] from comment #4)
> > +  Telemetry::Accumulate(Telemetry::DECODER_INSTANTIATED_KOI8R, true);
> 
> DECODER_INSTANTIATED_KOI8U

Good catch! Landed with that fixed:
https://hg.mozilla.org/integration/mozilla-inbound/rev/81a5cd771bfe

Thanks for the reviews/feedback.
Comment on attachment 8346518 [details] [diff] [review]
Add telemetry probes

> [Approval Request Comment]
> Bug caused by (feature/regressing bug #): 

This is not a bug fix but a telemetry addition. If the took this (as landed with review comments addressed; https://hg.mozilla.org/integration/mozilla-inbound/rev/81a5cd771bfe ) to Aurora, we'd get results 6 weeks earlier.

> User impact if declined: 

Firefox changes that could happen 6 weeks earlier in response to data will happen later.

> Testing completed (on m-c, etc.): 

Nothing to test really.

> Risk to taking this patch (and alternatives if risky): 

Very low risk. Adds telemetry probes using an already-understood pattern.

> String or IDL/UUID changes made by this patch:

None.
Attachment #8346518 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/81a5cd771bfe
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Attached patch Patch as landadSplinter Review
[Approval Request Comment]

(Attaching the patch as landed  in order to be able to request approval for the patch that addresses review comments in order to avoid accidents with the branch landing.)
 
> Bug caused by (feature/regressing bug #): 

This is not a bug fix but a telemetry addition. If we took this to Aurora, we'd get results 6 weeks earlier.

> User impact if declined: 

6-week delay for whatever the reaction to the telemetry data ends up being.

> Testing completed (on m-c, etc.): 

Landed on m-c. The tree did not burn.

> Risk to taking this patch (and alternatives if risky): 

Very low risk.  This adds telemetry according to a pre-existing pattern.

> String or IDL/UUID changes made by this patch:

None.
Attachment #8346518 - Attachment is obsolete: true
Attachment #8346518 - Flags: approval-mozilla-aurora?
Attachment #8349234 - Flags: review+
Attachment #8349234 - Flags: approval-mozilla-aurora?
Attachment #8349234 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: