V8 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
- 55/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cpp, javascript
Research direction
Read Dependencies/JsRuntimeHost/Core/Node-API/Source/js_native_api_v8.cc alongside the V8 exclusions in Dependencies/JsRuntimeHost/Tests/NodeApi/test_main.cpp. Start with one listed conformance failure and run its named test to understand the expected Node-API behavior. Fix the V8 implementation, remove that test's exclusion, and confirm the test passes; the issue lists affected tests for each defect.
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 V8. Their exclusions in Dependencies/JsRuntimeHost/Tests/NodeApi/test_main.cpp link here; the implementation is Dependencies/JsRuntimeHost/Core/Node-API/Source/js_native_api_v8.cc. Remove an exclusion when its item is fixed, so the test guards the fix.
-
napi_wrapaborts on an object not created bynapi_define_class. Skipstest_function/test.js,test_general/test.js,test_general/testEnvCleanup.js,test_general/testFinalizer.jsandtest_reference_double_free/test_wrap.js. -
napi_run_scriptaborts on a non-string script instead of returningnapi_string_expected. Skipstest_general/testNapiRun.js. -
napi_get_versionreports 9, butnapi_get_all_property_names(version 6) is commented out.test_general/test.jsexpects 5, as the other JsRuntimeHost implementations report.
- 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