Reviewers: Michael Starzinger,

Description:
Fix mozilla test failures and expectations.

Follow-up for r13160.

[email protected]
BUG=


Please review this at https://chromiumcodereview.appspot.com/11446063/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/v8natives.js
  M test/mozilla/mozilla.status


Index: src/v8natives.js
diff --git a/src/v8natives.js b/src/v8natives.js
index f4e685933c087eb586613fe88a07b9c80aaf67db..e8752c84b8b1389dc30ac7315b394243d92fb947 100644
--- a/src/v8natives.js
+++ b/src/v8natives.js
@@ -1413,7 +1413,7 @@ function NumberToString(radix) {

 // ECMA-262 section 15.7.4.3
 function NumberToLocaleString() {
-  return NumberToString();
+  return %_CallFunction(this, NumberToString);
 }


Index: test/mozilla/mozilla.status
diff --git a/test/mozilla/mozilla.status b/test/mozilla/mozilla.status
index 4f2fbdea5aee9c2f680726af2e2ebf494a06adde..f6b72c0e102f63c7463880ac165cc8d1886d57f9 100644
--- a/test/mozilla/mozilla.status
+++ b/test/mozilla/mozilla.status
@@ -245,13 +245,6 @@ js1_5/Function/regress-338121-03: FAIL_OK
 # Expectes 'prototype' property of functions to be enumerable.
 js1_5/Function/10.1.6-01: FAIL_OK

-# toPrecision argument restricted to range 1..21 in JSC/V8
-js1_5/Regress/regress-452346: FAIL_OK
-ecma_3/Number/15.7.4.7-1: FAIL_OK
-
-# toExponential argument restricted to range 0..20 in JSC/V8
-ecma_3/Number/15.7.4.6-1: FAIL_OK
-
 #:=== RegExp:===
 # We don't match the syntax error message of Mozilla for invalid
 # RegExp flags.


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to