String generics are non-standard SpiderMonkey extension and they should be removed. * String.charAt * String.charCodeAt * String.concat * String.contains * String.endsWith * String.includes * String.indexOf * String.lastIndexOf * String.localeCompare * String.match * String.normalize * String.replace * String.search * String.slice * String.split * String.startsWith * String.substr * String.substring * String.toLocaleLowerCase * String.toLocaleUpperCase * String.toLowerCase * String.toUpperCase * String.trim * String.trimLeft * String.trimRight
4 years ago
Posted the site compatibility doc: https://www.fxsitecompat.com/en-US/docs/2015/array-string-generics-will-be-removed/
Depends on: 1321274
I think it's time we seriously investigate this and bug 1222547. The String variant is probably less used, but we definitely need to add some telemetry. The static String functions already have warnings, but the Array methods don't. This also means those are still used in Firefox code.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/c59acf298136 Remove String generics. r=jorendorff https://hg.mozilla.org/integration/autoland/rev/a8c448b92913 Fix xpconnect test. r=smaug
You need to log in before you can comment on or make changes to this bug.