Good idea. A frozen array is more restrictive than a LocaleList (which is 
extensible), but that's probably OK in this context. Or we could thaw it a 
bit...

Norbert


On Jun 25, 2012, at 10:09 , Andreas Rossberg wrote:

> On 25 June 2012 19:00, Norbert Lindenberg
> <[email protected]> wrote:
>> One side effect of removing LocaleList from the API is that the object 
>> returned from the supportedLocalesOf methods is now a simple Array, and 
>> therefore is modifiable. This probably prevents us from ever switching the 
>> return value of these methods back to a LocaleList, whose LocaleList 
>> properties (length and indexed elements 0..length-1) are immutable.
> 
> Well, I don't see a reason why you couldn't return a frozen array then.
> 
> /Andreas

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to