Closed Bug 1536860 Opened 5 years ago Closed 5 years ago

Add telemetry and warning for Array generics

Categories

(Core :: JavaScript Engine, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: evilpie, Assigned: evilpie)

References

Details

(Keywords: site-compat)

Attachments

(4 files)

Adding a warning for Array generics might be a bit annoying because Firefox code is still using it!

Assignee: nobody → evilpies
Priority: -- → P2
Attached file data-review

Similar to what we already added before for Strings now for Arrays. (bug 1339777)

Attachment #9052672 - Flags: data-review?(chutten)
Attachment #9052672 - Attachment mime type: application/octet-stream → text/plain
Comment on attachment 9052672 [details]
data-review

DATA COLLECTION REVIEW RESPONSE:

    Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes. This collection is Telemetry so is documented in its definitions file [Histograms.json](https://hg.mozilla.org/mozilla-central/file/tip/toolkit/components/telemetry/Histograms.json) and the [Probe Dictionary](https://telemetry.mozilla.org/probe-dictionary/).

    Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.

    If the request is for permanent data collection, is there someone who will monitor the data over time?

No. This collection will expire in Firefox 74.

    Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 1, Technical.

    Is the data collection request for default-on or default-off?

Default on for pre-release channels only.

    Does the instrumentation include the addition of any new identifiers?

No.

    Is the data collection covered by the existing Firefox privacy notice?

Yes.

    Does there need to be a check-in in the future to determine whether to renew the data?

Yes. :evilpie is responsible for renewing or removing the collection before it expires in Firefox 74.

---
Result: datareview+
Attachment #9052672 - Flags: data-review?(chutten) → data-review+
Attachment #9052297 - Attachment description: Bug 1536860 - Telemetry for deprecated Array generics. r?jorendorff → Bug 1536860 - Telemetry for deprecated Array generics. r?jorendorff datareview=chutten

This was causing test failures in some uncommon try configurations like fuzzing.

Depends on D24208

Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/631bf8533698
Warn about deprecated Array generics. r=jorendorff
https://hg.mozilla.org/integration/autoland/rev/65339ae085f7
Telemetry for deprecated Array generics. r=jorendorff datareview=chutten
https://hg.mozilla.org/integration/autoland/rev/f497764d0e13
Remove Array.slice from lib/asm.js. r=jorendorff
Keywords: site-compat

(In reply to Tom Schuster [:evilpie] from comment #0)

Adding a warning for Array generics might be a bit annoying because Firefox code is still using it!

Yes, this is indeed annoying. Could the warning be disabled for privileged code? If you want to eliminate a pattern from the Firefox codebase, it's more efficient to do it with a scripted rewrite of the code, or with eslint rules.

See Also: → 1540444
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: