mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Fix bug 57060 for/in loop enumerates array elements as numbers, not strings
This commit is contained in:
parent
0470e048ab
commit
2a73169e97
@ -2169,7 +2169,7 @@ class IdEnumeration implements Enumeration {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
return ScriptRuntime.toString(result);
|
||||
}
|
||||
|
||||
private Object next;
|
||||
|
@ -2169,7 +2169,7 @@ class IdEnumeration implements Enumeration {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
return ScriptRuntime.toString(result);
|
||||
}
|
||||
|
||||
private Object next;
|
||||
|
Loading…
Reference in New Issue
Block a user