js-on-sx: wrapper constructor-detection, Array.prototype.toString, >>> operator
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 11s

Number.__callable__ and String.__callable__ now check this.__proto__ ===
Number/String.prototype before writing wrapper slots, preventing false-positive
mutation when called as plain function. js-to-number extended to unwrap
wrapper dicts and call valueOf/toString for plain objects. Array.prototype.toString
replaced with a direct js-list-join implementation (eliminates infinite recursion
via js-invoke-method on dict-based arrays). >>> added to transpiler + runtime.

String test262 subset: 62→66/100. 529/530 unit, 147/148 slice.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-25 19:22:53 +00:00
parent ea63b6d9bb
commit 97180b4aa3
5 changed files with 232 additions and 54 deletions

View File

@@ -1,32 +1,31 @@
# test262 scoreboard
Pinned commit: `d5e73fc8d2c663554fb72e2380a8c2bc1a318a33`
Wall time: 40.5s
Wall time: 157.9s
**Total:** 62/100 runnable passed (62.0%). Raw: pass=62 fail=29 skip=1130 timeout=9 total=1230.
**Total:** 66/100 runnable passed (66.0%). Raw: pass=66 fail=25 skip=1130 timeout=9 total=1230.
## Top failure modes
- **24x** Test262Error (assertion failed)
- **14x** Test262Error (assertion failed)
- **9x** Timeout
- **1x** Unhandled: Not callable: \\\
- **1x** ReferenceError (undefined symbol)
- **6x** TypeError: not a function
- **2x** ReferenceError (undefined symbol)
- **2x** Unhandled: Not callable: \\\
- **1x** SyntaxError (parse/unsupported syntax)
- **1x** TypeError: not a function
- **1x** Unhandled: js-transpile-binop: unsupported op: >>>\
## Categories (worst pass-rate first, min 10 runnable)
| Category | Pass | Fail | Skip | Timeout | Total | Pass % |
|---|---:|---:|---:|---:|---:|---:|
| built-ins/String | 62 | 29 | 1123 | 9 | 1223 | 62.0% |
| built-ins/String | 66 | 25 | 1123 | 9 | 1223 | 66.0% |
## Per-category top failures (min 10 runnable, worst first)
### built-ins/String (62/100 — 62.0%)
### built-ins/String (66/100 — 66.0%)
- **24x** Test262Error (assertion failed)
- **14x** Test262Error (assertion failed)
- **9x** Timeout
- **1x** Unhandled: Not callable: \\\
- **1x** ReferenceError (undefined symbol)
- **1x** SyntaxError (parse/unsupported syntax)
- **6x** TypeError: not a function
- **2x** ReferenceError (undefined symbol)
- **2x** Unhandled: Not callable: \\\