Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests not passed #48

Open
shiqimei opened this issue Jun 9, 2023 · 1 comment
Open

Tests not passed #48

shiqimei opened this issue Jun 9, 2023 · 1 comment

Comments

@shiqimei
Copy link

shiqimei commented Jun 9, 2023

  • ./bin/run-test262 -m -c test262.conf -a
    test262/test/annexB/built-ins/RegExp/prototype/compile/duplicate-named-capturing-groups-syntax.js:1: unknown feature: regexp-duplicate-named-groups
    test262/test/built-ins/Array/fromAsync/builtin.js:1: unknown feature: Array.fromAsync
    test262/test/built-ins/Array/fromAsync/length.js:1: unknown feature: Array.fromAsync
    test262/test/built-ins/Array/fromAsync/name.js:1: unknown feature: Array.fromAsync
    test262/test/built-ins/Array/fromAsync/not-a-constructor.js:1: unknown feature: Array.fromAsync
    test262/test/built-ins/Array/fromAsync/prop-desc.js:1: unknown feature: Array.fromAsync
    test262/test/built-ins/Array/prototype/Symbol.unscopables/array-grouping.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/Symbol.unscopables/change-array-by-copy.js:1: unknown feature: change-array-by-copy
    test262/test/built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-string-wrapper.js:12: unexpected error: Test262Error: Expected [y, u, c, k, , ] and [, , , , , ] to have the same contents. ["y", "u", "c", "k", "uD83D", "uDCA9"] must return the same value returned by [].concat(str1)
    test262/test/built-ins/Array/prototype/concat/Array.prototype.concat_spreadable-string-wrapper.js:12: strict mode: unexpected error: Test262Error: Expected [y, u, c, k, , ] and [, , , , , ] to have the same contents. ["y", "u", "c", "k", "uD83D", "uDCA9"] must return the same value returned by [].concat(str1)
    test262/test/built-ins/Array/prototype/every/15.4.4.16-1-7.js:9: unexpected error: Test262Error: Array.prototype.every.call("hello
    world!", callbackfn) Expected SameValue(«true», «false») to be true
    test262/test/built-ins/Array/prototype/every/15.4.4.16-1-7.js:9: strict mode: unexpected error: Test262Error: Array.prototype.every.call("hello
    world!", callbackfn) Expected SameValue(«true», «false») to be true
    test262/test/built-ins/Array/prototype/every/15.4.4.16-1-8.js:9: unexpected error: Test262Error: Array.prototype.every.call(obj, callbackfn) Expected SameValue(«true», «false») to be true
    test262/test/built-ins/Array/prototype/every/15.4.4.16-1-8.js:9: strict mode: unexpected error: Test262Error: Array.prototype.every.call(obj, callbackfn) Expected SameValue(«true», «false») to be true
    test262/test/built-ins/Array/prototype/every/15.4.4.16-2-18.js:11: unexpected error: Test262Error: Array.prototype.every.call(str, callbackfn2) Expected SameValue(«true», «false») to be true
    test262/test/built-ins/Array/prototype/every/15.4.4.16-2-18.js:11: strict mode: unexpected error: Test262Error: Array.prototype.every.call(str, callbackfn2) Expected SameValue(«true», «false») to be true
    test262/test/built-ins/Array/prototype/every/15.4.4.16-3-14.js:20: unexpected error: Test262Error: Array.prototype.every.call(objOne, callbackfn) Expected SameValue(«true», «false») to be true
    test262/test/built-ins/Array/prototype/every/15.4.4.16-3-14.js:20: strict mode: unexpected error: Test262Error: Array.prototype.every.call(objOne, callbackfn) Expected SameValue(«true», «false») to be true
    test262/test/built-ins/Array/prototype/filter/15.4.4.20-1-7.js:9: unexpected error: Test262Error: newArr[0] Expected SameValue(«undefined», «a») to be true
    test262/test/built-ins/Array/prototype/filter/15.4.4.20-1-7.js:9: strict mode: unexpected error: Test262Error: newArr[0] Expected SameValue(«undefined», «a») to be true
    test262/test/built-ins/Array/prototype/filter/15.4.4.20-1-8.js:9: unexpected error: Test262Error: newArr[0] Expected SameValue(«undefined», «a») to be true
    test262/test/built-ins/Array/prototype/filter/15.4.4.20-1-8.js:9: strict mode: unexpected error: Test262Error: newArr[0] Expected SameValue(«undefined», «a») to be true
    test262/test/built-ins/Array/prototype/filter/15.4.4.20-2-18.js:11: unexpected error: Test262Error: newArr.length Expected SameValue(«0», «3») to be true
    test262/test/built-ins/Array/prototype/filter/15.4.4.20-2-18.js:11: strict mode: unexpected error: Test262Error: newArr.length Expected SameValue(«0», «3») to be true
    test262/test/built-ins/Array/prototype/forEach/15.4.4.18-1-7.js:9: unexpected error: Test262Error: result !== true
    test262/test/built-ins/Array/prototype/forEach/15.4.4.18-1-7.js:9: strict mode: unexpected error: Test262Error: result !== true
    test262/test/built-ins/Array/prototype/forEach/15.4.4.18-1-8.js:9: unexpected error: Test262Error: result !== true
    test262/test/built-ins/Array/prototype/forEach/15.4.4.18-1-8.js:9: strict mode: unexpected error: Test262Error: result !== true
    test262/test/built-ins/Array/prototype/forEach/15.4.4.18-2-18.js:11: unexpected error: Test262Error: result !== true
    test262/test/built-ins/Array/prototype/forEach/15.4.4.18-2-18.js:11: strict mode: unexpected error: Test262Error: result !== true
    test262/test/built-ins/Array/prototype/group/array-like.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/callback-arg.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/callback-throws.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/emptyList.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/evenOdd.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/get-throws.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/groupLength.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/invalid-callback.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/invalid-object.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/invalid-property-key.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/length-throw.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/length.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/name.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/null-prototype.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/sparse-array.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/this-arg-strict.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/this-arg.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/group/toPropertyKey.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/array-like.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/callback-arg.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/callback-throws.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/emptyList.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/evenOdd.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/get-throws.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/groupLength.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/invalid-callback.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/invalid-object.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/invalid-property-key.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/length-throw.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/length.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/map-instance.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/name.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/negativeZero.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/sparse-array.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/this-arg-strict.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/this-arg.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/groupToMap/toPropertyKey.js:1: unknown feature: array-grouping
    test262/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-7.js:9: unexpected error: Test262Error: Array.prototype.indexOf.call("abc", "b") Expected SameValue(«-1», «1») to be true
    test262/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-7.js:9: strict mode: unexpected error: Test262Error: Array.prototype.indexOf.call("abc", "b") Expected SameValue(«-1», «1») to be true
    test262/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-8.js:9: unexpected error: Test262Error: Array.prototype.indexOf.call(obj, "l") Expected SameValue(«-1», «2») to be true
    test262/test/built-ins/Array/prototype/indexOf/15.4.4.14-1-8.js:9: strict mode: unexpected error: Test262Error: Array.prototype.indexOf.call(obj, "l") Expected SameValue(«-1», «2») to be true
    test262/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-18.js:11: unexpected error: Test262Error: Array.prototype.indexOf.call(str, "2") Expected SameValue(«-1», «2») to be true
    test262/test/built-ins/Array/prototype/indexOf/15.4.4.14-2-18.js:11: strict mode: unexpected error: Test262Error: Array.prototype.indexOf.call(str, "2") Expected SameValue(«-1», «2») to be true
    test262/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-14.js:16: unexpected error: Test262Error: Array.prototype.indexOf.call(objOne, true) Expected SameValue(«-1», «0») to be true
    test262/test/built-ins/Array/prototype/indexOf/15.4.4.14-3-14.js:16: strict mode: unexpected error: Test262Error: Array.prototype.indexOf.call(objOne, true) Expected SameValue(«-1», «0») to be true
@shiqimei
Copy link
Author

shiqimei commented Jun 9, 2023

Array.prototype.indexOf.call("abc", "b"), returns -1 which absolutely not correct behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant