Hermes Node-API conformance defects
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- cpp, javascript
Research direction
Start with the exclusions in Dependencies/JsRuntimeHost/Tests/NodeApi/test_main.cpp and the pinned Hermes revision in Dependencies/JsRuntimeHost/CMakeLists.txt; then inspect the four skipped Node-API tests named in the issue. Determine which Hermes behavior or API declaration causes each failure, and run the conformance tests to check a fix. Done means the affected tests pass and their exclusions are removed.
Written by the indexing model from the issue text.
Description
[Filed by Copilot on behalf of @bghgary]
The Node-API conformance suite added in #2097 skips these tests on Hermes. Their exclusions in Dependencies/JsRuntimeHost/Tests/NodeApi/test_main.cpp link here. Hermes provides its own Node-API implementation (facebook/hermes, static_h branch, pinned in Dependencies/JsRuntimeHost/CMakeLists.txt). Remove an exclusion when its item is fixed, so the test guards the fix.
- A
napi_wrapfinalizer runs only at env shutdown, not on garbage collection, when a result reference is requested. Skips7_factory_wrap/test.jsand8_passing_wrapped/test.js. -
napi_create_array_with_lengththrows a RangeError for the maximum array length (2^32-1) instead of returning an array. Skipstest_array/test.js. - Read-only and getter-only assignment errors use different message text from V8's, which the test asserts. Skips
test_constructor/test.js. - Hermes exports only the standard 3-argument
napi_run_script, while BabylonNative's sharedjs_native_api.hdeclares only the 4-argument variant withsource_url. Skipstest_general/testNapiRun.js.
- Dominant language
- C++
- Stars
- 931
- Forks
- 169
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 66
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BabylonJS/BabylonNative
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
BabylonJS/BabylonNative#2138 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BabylonJS/BabylonNative#2042 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
BabylonJS/BabylonNative#2052 ·
Maintainers usually reply within 1 day
-
testing
Difficulty 4/5 3-5 days Newbie friendliness 45/100
BabylonJS/BabylonNative#2136 ·
Maintainers usually reply within 1 day
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runOpen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
BabylonJS/BabylonNative#2134 ·
Maintainers usually reply within 1 day
All issues in BabylonJS/BabylonNative
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
gofractally/psibase#2379 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
simnJS/AnyPS5#735 · 1 comment ·
Maintainers usually reply within 1 day
-
needs-format
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Niko1221/Strata#7719 · 1 comment ·
Maintainers usually reply within 4 days