In Bug 1770473, we ran into some lint warnings in [`TelemetrySend.jsm`](https://searchfox.org/mozilla-central/rev/ace2c59e6c56b2dcba25af1aa8903a5e7f9a5857/toolkit/components/telemetry/app/TelemetrySend.jsm): ``` $ ./mach lint toolkit/components/telemetry/app/TelemetrySend.jsm -W error: problem with lint setup, skipping android-api-lint, android-checkstyle, android-format, android-javadoc, android-lint, android-test /Users/nalexander/Mozilla/gecko/toolkit/components/telemetry/app/TelemetrySend.jsm 233:22 warning Ci.nsIScriptableUnicodeConverter is deprecated. You should use TextEncoder or TextDecoder instead. mozilla/reject-scriptableunicodeconverter (eslint) 1036:24 warning OS.Path is deprecated. You should use PathUtils instead. mozilla/reject-osfile (eslint) 1342:22 warning Ci.nsIScriptableUnicodeConverter is deprecated. You should use TextEncoder or TextDecoder instead. mozilla/reject-scriptableunicodeconverter (eslint) ```
Bug 1773535 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
In Bug 1770473, we ran into some lint warnings in [`TelemetrySend.jsm`](https://searchfox.org/mozilla-central/rev/ace2c59e6c56b2dcba25af1aa8903a5e7f9a5857/toolkit/components/telemetry/app/TelemetrySend.jsm): ``` $ ./mach lint toolkit/components/telemetry/app/TelemetrySend.jsm -W error: problem with lint setup, skipping android-api-lint, android-checkstyle, android-format, android-javadoc, android-lint, android-test .../toolkit/components/telemetry/app/TelemetrySend.jsm 233:22 warning Ci.nsIScriptableUnicodeConverter is deprecated. You should use TextEncoder or TextDecoder instead. mozilla/reject-scriptableunicodeconverter (eslint) 1036:24 warning OS.Path is deprecated. You should use PathUtils instead. mozilla/reject-osfile (eslint) 1342:22 warning Ci.nsIScriptableUnicodeConverter is deprecated. You should use TextEncoder or TextDecoder instead. mozilla/reject-scriptableunicodeconverter (eslint) ```