mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
Undo teeny optimization from rev 3.28, alas it breaks ECMA Ed. 3, 15.5.4.15.
This commit is contained in:
parent
c2d5bf500f
commit
e5ca3a7b1a
@ -2021,7 +2021,7 @@ static JSFunctionSpec string_methods[] = {
|
||||
/* Java-like methods. */
|
||||
{js_toString_str, str_toString, 0,0,0},
|
||||
{js_valueOf_str, str_valueOf, 0,0,0},
|
||||
{"substring", str_substring, 1,0,0},
|
||||
{"substring", str_substring, 2,0,0},
|
||||
{"toLowerCase", str_toLowerCase, 0,0,0},
|
||||
{"toUpperCase", str_toUpperCase, 0,0,0},
|
||||
{"charAt", str_charAt, 1,0,0},
|
||||
|
Loading…
x
Reference in New Issue
Block a user