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