Hermes Node-API conformance defects
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cpp, javascript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[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.
- Ngôn ngữ chính
- C++
- Star
- 931
- Fork
- 169
- Merge trung bình
- 2 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 66
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của BabylonJS/BabylonNative
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
BabylonJS/BabylonNative#2138 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
BabylonJS/BabylonNative#2042 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
BabylonJS/BabylonNative#2052 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
testing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
BabylonJS/BabylonNative#2136 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
BabylonJS/BabylonNative#2134 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của BabylonJS/BabylonNative
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
simnJS/AnyPS5#735 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-format
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Niko1221/Strata#7719 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
area:tests kind:test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày