Fix bogus arguments length check in StringLocaleCompare.
R=rossberg@chromium.org TEST=test262/15.5.4.9_3 Review URL: https://codereview.chromium.org/14972015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14623 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
9e620bb689
commit
0b7c1450f1
@ -170,7 +170,6 @@ function StringLocaleCompare(other) {
|
||||
throw MakeTypeError("called_on_null_or_undefined",
|
||||
["String.prototype.localeCompare"]);
|
||||
}
|
||||
if (%_ArgumentsLength() === 0) return 0;
|
||||
return %StringLocaleCompare(TO_STRING_INLINE(this),
|
||||
TO_STRING_INLINE(other));
|
||||
}
|
||||
|
@ -41,10 +41,6 @@ def FAIL_OK = FAIL, OKAY
|
||||
# V8 Bug: http://code.google.com/p/v8/issues/detail?id=2413
|
||||
15.5.4.9_CE: FAIL
|
||||
|
||||
# Missing 'that' parameter should be treated as an implicit 'undefined' when
|
||||
# String.prototype.localeCompare is called.
|
||||
15.5.4.9_3: FAIL
|
||||
|
||||
##################### DELIBERATE INCOMPATIBILITIES #####################
|
||||
|
||||
# This tests precision of Math functions. The implementation for those
|
||||
|
Loading…
Reference in New Issue
Block a user