From d6629c691922e1a281aae2b39c64e4be9b015c2a Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Fri, 7 Dec 2012 12:18:50 +0000 Subject: [PATCH] Fix mozilla test failures and expectations. Follow-up for r13160. R=mstarzinger@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/11446063 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13163 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/v8natives.js | 2 +- test/mozilla/mozilla.status | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/v8natives.js b/src/v8natives.js index f4e6859..e8752c8 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); } diff --git a/test/mozilla/mozilla.status b/test/mozilla/mozilla.status index 4f2fbde..f6b72c0 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. -- 2.7.4