js-on-sx: callable Number/String/Boolean/Array + Array.sort
Builtin constructors now have :__callable__ slot. js-call-plain
and js-function? detect dicts with __callable__ and dispatch
through it. Number('42')===42, String(true)==='true', Boolean(0)
===false, Array(3) builds length-3 list.
Array.prototype.sort(comparator?): bubble sort via js-list-sort-
outer!/-inner!. Default lex order, custom comparator supported.
Wide scoreboard committed: 259/5354 (4.8%) from earlier runtime.
438/440 unit (+11), 148/148 slice unchanged.
This commit is contained in:
313
lib/js/test262-scoreboard-wide.json
Normal file
313
lib/js/test262-scoreboard-wide.json
Normal file
@@ -0,0 +1,313 @@
|
||||
{
|
||||
"totals": {
|
||||
"pass": 259,
|
||||
"fail": 4768,
|
||||
"skip": 2534,
|
||||
"timeout": 327,
|
||||
"total": 7888,
|
||||
"runnable": 5354,
|
||||
"pass_rate": 4.8
|
||||
},
|
||||
"categories": [
|
||||
{
|
||||
"category": "built-ins/Array",
|
||||
"total": 3081,
|
||||
"pass": 58,
|
||||
"fail": 2524,
|
||||
"skip": 351,
|
||||
"timeout": 148,
|
||||
"pass_rate": 2.1,
|
||||
"top_failures": [
|
||||
[
|
||||
"ReferenceError (undefined symbol)",
|
||||
785
|
||||
],
|
||||
[
|
||||
"Other: \"Not callable: {:length 3 :0 41 :1 42 :2 43} (kont=5 frames)\"",
|
||||
455
|
||||
],
|
||||
[
|
||||
"Unhandled: Unhandled exception: \\\\\\",
|
||||
420
|
||||
],
|
||||
[
|
||||
"TypeError: not a function",
|
||||
284
|
||||
],
|
||||
[
|
||||
"Timeout",
|
||||
148
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"category": "built-ins/ArrayBuffer",
|
||||
"total": 196,
|
||||
"pass": 0,
|
||||
"fail": 0,
|
||||
"skip": 196,
|
||||
"timeout": 0,
|
||||
"pass_rate": 0.0,
|
||||
"top_failures": []
|
||||
},
|
||||
{
|
||||
"category": "built-ins/ArrayIteratorPrototype",
|
||||
"total": 27,
|
||||
"pass": 0,
|
||||
"fail": 0,
|
||||
"skip": 27,
|
||||
"timeout": 0,
|
||||
"pass_rate": 0.0,
|
||||
"top_failures": []
|
||||
},
|
||||
{
|
||||
"category": "built-ins/Math",
|
||||
"total": 327,
|
||||
"pass": 65,
|
||||
"fail": 211,
|
||||
"skip": 39,
|
||||
"timeout": 12,
|
||||
"pass_rate": 22.6,
|
||||
"top_failures": [
|
||||
[
|
||||
"ReferenceError (undefined symbol)",
|
||||
87
|
||||
],
|
||||
[
|
||||
"Test262Error (assertion failed)",
|
||||
80
|
||||
],
|
||||
[
|
||||
"TypeError: not a function",
|
||||
31
|
||||
],
|
||||
[
|
||||
"Timeout",
|
||||
12
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: {:isArray <js-array-is-array(v)> :of <js-array",
|
||||
11
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"category": "built-ins/Number",
|
||||
"total": 340,
|
||||
"pass": 9,
|
||||
"fail": 252,
|
||||
"skip": 57,
|
||||
"timeout": 22,
|
||||
"pass_rate": 3.2,
|
||||
"top_failures": [
|
||||
[
|
||||
"TypeError: not a function",
|
||||
72
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: {:isFinite <js-number-is-finite(v)> :MAX_SAFE_",
|
||||
56
|
||||
],
|
||||
[
|
||||
"ReferenceError (undefined symbol)",
|
||||
49
|
||||
],
|
||||
[
|
||||
"Unhandled: expected ident after .\\",
|
||||
38
|
||||
],
|
||||
[
|
||||
"Timeout",
|
||||
22
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"category": "built-ins/String",
|
||||
"total": 1223,
|
||||
"pass": 73,
|
||||
"fail": 847,
|
||||
"skip": 192,
|
||||
"timeout": 111,
|
||||
"pass_rate": 7.1,
|
||||
"top_failures": [
|
||||
[
|
||||
"Unhandled: Not callable: \\\\\\",
|
||||
152
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: {:fromCharCode <js-string-from-char-code(&rest",
|
||||
133
|
||||
],
|
||||
[
|
||||
"Test262Error (assertion failed)",
|
||||
124
|
||||
],
|
||||
[
|
||||
"TypeError: not a function",
|
||||
117
|
||||
],
|
||||
[
|
||||
"Other: \"Not callable: \\\"js-undefined\\\" (kont=10 frames)\"",
|
||||
117
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"category": "built-ins/StringIteratorPrototype",
|
||||
"total": 7,
|
||||
"pass": 0,
|
||||
"fail": 0,
|
||||
"skip": 7,
|
||||
"timeout": 0,
|
||||
"pass_rate": 0.0,
|
||||
"top_failures": []
|
||||
},
|
||||
{
|
||||
"category": "language/expressions",
|
||||
"total": 95,
|
||||
"pass": 14,
|
||||
"fail": 36,
|
||||
"skip": 29,
|
||||
"timeout": 16,
|
||||
"pass_rate": 21.2,
|
||||
"top_failures": [
|
||||
[
|
||||
"Timeout",
|
||||
16
|
||||
],
|
||||
[
|
||||
"ReferenceError (undefined symbol)",
|
||||
14
|
||||
],
|
||||
[
|
||||
"Test262Error (assertion failed)",
|
||||
12
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: {:fromCharCode <js-string-from-char-code(&rest",
|
||||
3
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: {:entries <js-object-entries(o)> :values <js-o",
|
||||
2
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"category": "language/statements",
|
||||
"total": 2592,
|
||||
"pass": 40,
|
||||
"fail": 898,
|
||||
"skip": 1636,
|
||||
"timeout": 18,
|
||||
"pass_rate": 4.2,
|
||||
"top_failures": [
|
||||
[
|
||||
"SyntaxError (parse/unsupported syntax)",
|
||||
387
|
||||
],
|
||||
[
|
||||
"Unhandled: expected ident in arr pattern\\",
|
||||
112
|
||||
],
|
||||
[
|
||||
"Other: \"Not callable: \\\"ud801\\\" (kont=6 frames)\"",
|
||||
49
|
||||
],
|
||||
[
|
||||
"negative: expected SyntaxError, got: \"Unhandled exception: \\\"expected ident in arr pattern\\\"\"",
|
||||
36
|
||||
],
|
||||
[
|
||||
"ReferenceError (undefined symbol)",
|
||||
33
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
"top_failure_modes": [
|
||||
[
|
||||
"ReferenceError (undefined symbol)",
|
||||
1056
|
||||
],
|
||||
[
|
||||
"TypeError: not a function",
|
||||
514
|
||||
],
|
||||
[
|
||||
"Other: \"Not callable: {:length 3 :0 41 :1 42 :2 43} (kont=5 frames)\"",
|
||||
455
|
||||
],
|
||||
[
|
||||
"SyntaxError (parse/unsupported syntax)",
|
||||
454
|
||||
],
|
||||
[
|
||||
"Unhandled: Unhandled exception: \\\\\\",
|
||||
438
|
||||
],
|
||||
[
|
||||
"Timeout",
|
||||
327
|
||||
],
|
||||
[
|
||||
"Test262Error (assertion failed)",
|
||||
322
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: \\\\\\",
|
||||
160
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: {:fromCharCode <js-string-from-char-code(&rest",
|
||||
147
|
||||
],
|
||||
[
|
||||
"Unhandled: Unexpected token: punct ','\\",
|
||||
125
|
||||
],
|
||||
[
|
||||
"Other: \"Not callable: \\\"js-undefined\\\" (kont=10 frames)\"",
|
||||
117
|
||||
],
|
||||
[
|
||||
"Unhandled: expected ident in arr pattern\\",
|
||||
112
|
||||
],
|
||||
[
|
||||
"Unhandled: js-transpile-unop: unsupported op: delete\\",
|
||||
104
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: {:isFinite <js-number-is-finite(v)> :MAX_SAFE_",
|
||||
74
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: {:sameValue <lambda(actual, expected, message)",
|
||||
63
|
||||
],
|
||||
[
|
||||
"Other: \"Not callable: \\\"ud801\\\" (kont=6 frames)\"",
|
||||
49
|
||||
],
|
||||
[
|
||||
"Unhandled: Not callable: {:isArray <js-array-is-array(v)> :of <js-array",
|
||||
46
|
||||
],
|
||||
[
|
||||
"Unhandled: expected ident after .\\",
|
||||
45
|
||||
],
|
||||
[
|
||||
"Unhandled: Unexpected token: op '++'\\",
|
||||
39
|
||||
],
|
||||
[
|
||||
"negative: expected SyntaxError, got: \"Unhandled exception: \\\"expected ident in arr pattern\\\"\"",
|
||||
36
|
||||
]
|
||||
],
|
||||
"pinned_commit": "d5e73fc8d2c663554fb72e2380a8c2bc1a318a33",
|
||||
"elapsed_seconds": 9007.6
|
||||
}
|
||||
Reference in New Issue
Block a user