Use of locale-sensitive methods with undefined
locale may cause environment-sensitive bugs
#6016
Labels
undefined
locale may cause environment-sensitive bugs
#6016
Describe the bug
I've mentioned this before tangentially in a couple of issues (ex), but it's probably worth its own issue.
Use of locale-sensitive methods, such as
toLocaleLowerCase
, with an unspecified (undefined
) locale may cause environment-sensitive bugs, because the default locale is host defined.Steps to Reproduce
For example, in
http/cookie.ts
, which is marked browser-compatible:std/http/cookie.ts
Line 361 in 6a4eb6c
about:preferences
Expected behavior
Consistent behavior in all locales
Environment
The text was updated successfully, but these errors were encountered: