From f9312114789d7e943e5ab6d855b947c06f06f2cb Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 22 Jan 2013 14:06:22 +0100 Subject: [PATCH] Fix name of Array.prototype.toLocaleString method Change-Id: I7347f25e07ee99a332b8e5f4b6cc50aac1c2bb70 Reviewed-by: Lars Knoll --- qv4arrayobject.cpp | 2 +- tests/TestExpectations | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/qv4arrayobject.cpp b/qv4arrayobject.cpp index 8d3757b..b740d6d 100644 --- a/qv4arrayobject.cpp +++ b/qv4arrayobject.cpp @@ -79,7 +79,7 @@ void ArrayPrototype::init(ExecutionContext *ctx, const Value &ctor) ctor.objectValue()->defineDefaultProperty(ctx, QStringLiteral("isArray"), method_isArray, 1); defineDefaultProperty(ctx, QStringLiteral("constructor"), ctor); defineDefaultProperty(ctx, QStringLiteral("toString"), method_toString, 0); - defineDefaultProperty(ctx, QStringLiteral("toLocalString"), method_toLocaleString, 0); + defineDefaultProperty(ctx, QStringLiteral("toLocaleString"), method_toLocaleString, 0); defineDefaultProperty(ctx, QStringLiteral("concat"), method_concat, 1); defineDefaultProperty(ctx, QStringLiteral("join"), method_join, 1); defineDefaultProperty(ctx, QStringLiteral("pop"), method_pop, 0); diff --git a/tests/TestExpectations b/tests/TestExpectations index d22c616..dfbf08b 100644 --- a/tests/TestExpectations +++ b/tests/TestExpectations @@ -497,7 +497,6 @@ S15.1.3.2_A5.3 failing 15.2.3.3-4-11 failing 15.2.3.3-4-12 failing 15.2.3.3-4-13 failing -15.2.3.3-4-51 failing 15.2.3.3-4-9 failing 15.2.3.6-2-17-1 failing 15.2.3.5-4-315 failing -- 2.7.4