QuickJS 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
- 52/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả 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 Dependencies/JsRuntimeHost/Core/Node-API/Source/js_native_api_quickjs.cc and the exclusions in Dependencies/JsRuntimeHost/Tests/NodeApi/test_main.cpp. Run the named conformance tests under test_general/, test_constructor/, test_number/, test_conversions/, and test_new_target/ to inspect the listed QuickJS failures. Fix the affected Node-API behavior and remove each corresponding exclusion once its test passes.
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 QuickJS. Their exclusions in Dependencies/JsRuntimeHost/Tests/NodeApi/test_main.cpp link here; the implementation is Dependencies/JsRuntimeHost/Core/Node-API/Source/js_native_api_quickjs.cc. Remove an exclusion when its item is fixed, so the test guards the fix.
- There is no
napi_add_finalizerornapi_adjust_external_memory, so thetest_generaladdon cannot load and is not built. Skipstest_general/. -
napi_define_classdereferences a NULL properties array and crashes. Skipstest_constructor/test.jsandtest_constructor/test_null.js. - Read-only assignment errors use different message text from V8's, which
test_constructor/test.jsalso asserts. -
napi_get_value_int64casts out-of-range doubles instead of saturating. Skipstest_number/test.js. - Number getters coerce non-numbers instead of returning
napi_number_expected, and string getters accept a NULLbufandresult. Skipstest_conversions/test.js. -
napi_create_functioncreates the function withJS_NewCFunctionData, which is not a constructor, so a class cannot extend it. Skipstest_new_target/test.js. -
napi_define_classconstructors record the function itself asnew.targetand take the instance's prototype from it, sonapi_get_new_targetreturns the wrong value and subclass instances lose their methods.test_new_target/test.jsalso needs this fixed.
- 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 72/100
gofractally/psibase#2379 ·
Maintainer thường phản hồi trong vòng 3 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