js-on-sx: delete obj.key actually removes the key
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 28s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 28s
js-delete-prop was setting value to js-undefined instead of removing the key, so 'key' in obj remained true and proto-chain lookup didn't fall through. Switched to dict-delete!. Now delete Boolean.prototype.toString; Boolean.prototype.toString() walks up to Object.prototype.toString and returns "[object Boolean]". built-ins/Boolean: 21/27 → 22/27. conformance.sh: 148/148.
This commit is contained in:
@@ -3517,7 +3517,7 @@
|
||||
(obj key)
|
||||
(cond
|
||||
((dict? obj)
|
||||
(begin (dict-set! obj (js-to-string key) js-undefined) true))
|
||||
(begin (dict-delete! obj (js-to-string key)) true))
|
||||
(else true))))
|
||||
|
||||
(define
|
||||
|
||||
@@ -1,45 +1,45 @@
|
||||
{
|
||||
"totals": {
|
||||
"pass": 44,
|
||||
"fail": 3,
|
||||
"fail": 6,
|
||||
"skip": 0,
|
||||
"timeout": 3,
|
||||
"timeout": 0,
|
||||
"total": 50,
|
||||
"runnable": 50,
|
||||
"pass_rate": 88.0
|
||||
},
|
||||
"categories": [
|
||||
{
|
||||
"category": "built-ins/Number",
|
||||
"category": "built-ins/Object",
|
||||
"total": 50,
|
||||
"pass": 44,
|
||||
"fail": 3,
|
||||
"fail": 6,
|
||||
"skip": 0,
|
||||
"timeout": 3,
|
||||
"timeout": 0,
|
||||
"pass_rate": 88.0,
|
||||
"top_failures": [
|
||||
[
|
||||
"Timeout",
|
||||
3
|
||||
"ReferenceError (undefined symbol)",
|
||||
4
|
||||
],
|
||||
[
|
||||
"Test262Error (assertion failed)",
|
||||
3
|
||||
"SyntaxError (parse/unsupported syntax)",
|
||||
2
|
||||
]
|
||||
]
|
||||
}
|
||||
],
|
||||
"top_failure_modes": [
|
||||
[
|
||||
"Timeout",
|
||||
3
|
||||
"ReferenceError (undefined symbol)",
|
||||
4
|
||||
],
|
||||
[
|
||||
"Test262Error (assertion failed)",
|
||||
3
|
||||
"SyntaxError (parse/unsupported syntax)",
|
||||
2
|
||||
]
|
||||
],
|
||||
"pinned_commit": "d5e73fc8d2c663554fb72e2380a8c2bc1a318a33",
|
||||
"elapsed_seconds": 110.0,
|
||||
"elapsed_seconds": 32.3,
|
||||
"workers": 1
|
||||
}
|
||||
@@ -1,24 +1,24 @@
|
||||
# test262 scoreboard
|
||||
|
||||
Pinned commit: `d5e73fc8d2c663554fb72e2380a8c2bc1a318a33`
|
||||
Wall time: 110.0s
|
||||
Wall time: 32.3s
|
||||
|
||||
**Total:** 44/50 runnable passed (88.0%). Raw: pass=44 fail=3 skip=0 timeout=3 total=50.
|
||||
**Total:** 44/50 runnable passed (88.0%). Raw: pass=44 fail=6 skip=0 timeout=0 total=50.
|
||||
|
||||
## Top failure modes
|
||||
|
||||
- **3x** Timeout
|
||||
- **3x** Test262Error (assertion failed)
|
||||
- **4x** ReferenceError (undefined symbol)
|
||||
- **2x** SyntaxError (parse/unsupported syntax)
|
||||
|
||||
## Categories (worst pass-rate first, min 10 runnable)
|
||||
|
||||
| Category | Pass | Fail | Skip | Timeout | Total | Pass % |
|
||||
|---|---:|---:|---:|---:|---:|---:|
|
||||
| built-ins/Number | 44 | 3 | 0 | 3 | 50 | 88.0% |
|
||||
| built-ins/Object | 44 | 6 | 0 | 0 | 50 | 88.0% |
|
||||
|
||||
## Per-category top failures (min 10 runnable, worst first)
|
||||
|
||||
### built-ins/Number (44/50 — 88.0%)
|
||||
### built-ins/Object (44/50 — 88.0%)
|
||||
|
||||
- **3x** Timeout
|
||||
- **3x** Test262Error (assertion failed)
|
||||
- **4x** ReferenceError (undefined symbol)
|
||||
- **2x** SyntaxError (parse/unsupported syntax)
|
||||
|
||||
Reference in New Issue
Block a user