From 322c7bc1b51721d1e35d5d33bd924b68056a0a1f Mon Sep 17 00:00:00 2001 From: Ronald Brill Date: Sun, 24 Sep 2023 09:16:45 +0200 Subject: [PATCH] fix rebase --- src/org/mozilla/javascript/NativeReflect.java | 12 ------------ testsrc/test262.properties | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/org/mozilla/javascript/NativeReflect.java b/src/org/mozilla/javascript/NativeReflect.java index d7f1a05618..f8d342b352 100644 --- a/src/org/mozilla/javascript/NativeReflect.java +++ b/src/org/mozilla/javascript/NativeReflect.java @@ -401,16 +401,4 @@ private static ScriptableObject checkTarget(Object[] args) { } return ScriptableObject.ensureScriptableObject(args[0]); } - - private void defineProperty( - Scriptable scope, - String name, - int length, - Callable target, - int attributes, - int propertyAttributes) { - LambdaFunction f = new LambdaFunction(scope, name, length, target); - f.setStandardPropertyAttributes(propertyAttributes); - defineProperty(name, f, attributes); - } } diff --git a/testsrc/test262.properties b/testsrc/test262.properties index 2f644adc2e..4fedae70a0 100644 --- a/testsrc/test262.properties +++ b/testsrc/test262.properties @@ -668,7 +668,7 @@ built-ins/isNaN 7/16 (43.75%) ~built-ins/IteratorPrototype -built-ins/JSON 28/140 (20.0%) +built-ins/JSON 27/140 (19.29%) parse/builtin.js parse/revived-proxy.js parse/reviver-array-define-prop-err.js