js-on-sx: js-loose-eq unwraps Number and Boolean wrappers
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 31s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 31s
js-loose-eq only had a __js_string_value__ unwrap clause, so Object(1.1) == 1.1 returned false. Added parallel clauses for __js_number_value__ and __js_boolean_value__ in both directions. Now new Number(5) == 5, Object(true) == true, etc. built-ins/Object: 26/50 → 37/50. conformance.sh: 148/148.
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
{
|
||||
"totals": {
|
||||
"pass": 77,
|
||||
"fail": 16,
|
||||
"pass": 78,
|
||||
"fail": 15,
|
||||
"skip": 1,
|
||||
"timeout": 6,
|
||||
"total": 100,
|
||||
"runnable": 99,
|
||||
"pass_rate": 77.8
|
||||
"pass_rate": 78.8
|
||||
},
|
||||
"categories": [
|
||||
{
|
||||
"category": "built-ins/String",
|
||||
"total": 100,
|
||||
"pass": 77,
|
||||
"fail": 16,
|
||||
"pass": 78,
|
||||
"fail": 15,
|
||||
"skip": 1,
|
||||
"timeout": 6,
|
||||
"pass_rate": 77.8,
|
||||
"pass_rate": 78.8,
|
||||
"top_failures": [
|
||||
[
|
||||
"Test262Error (assertion failed)",
|
||||
@@ -33,10 +33,6 @@
|
||||
[
|
||||
"SyntaxError (parse/unsupported syntax)",
|
||||
1
|
||||
],
|
||||
[
|
||||
"runner-error: sx_server closed stdout mid-epoch",
|
||||
1
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -57,13 +53,9 @@
|
||||
[
|
||||
"SyntaxError (parse/unsupported syntax)",
|
||||
1
|
||||
],
|
||||
[
|
||||
"runner-error: sx_server closed stdout mid-epoch",
|
||||
1
|
||||
]
|
||||
],
|
||||
"pinned_commit": "d5e73fc8d2c663554fb72e2380a8c2bc1a318a33",
|
||||
"elapsed_seconds": 238.6,
|
||||
"elapsed_seconds": 226.1,
|
||||
"workers": 1
|
||||
}
|
||||
Reference in New Issue
Block a user