Closed Bug 1222552 Opened 5 years ago Closed 1 year ago
Remove String generics
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
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 email@example.com: 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
Assignee: nobody → evilpies
You need to log in before you can comment on or make changes to this bug.