QuickJS Node-API conformance defects
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 52/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- cpp, javascript
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
[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.
- Lenguaje dominante
- C++
- Estrellas
- 931
- Forks
- 169
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 66
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de BabylonJS/BabylonNative
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
BabylonJS/BabylonNative#2138 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
BabylonJS/BabylonNative#2042 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
BabylonJS/BabylonNative#2052 ·
Los mantenedores suelen responder en 1 día
-
testing
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
BabylonJS/BabylonNative#2136 ·
Los mantenedores suelen responder en 1 día
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
BabylonJS/BabylonNative#2134 ·
Los mantenedores suelen responder en 1 día
Todos los issues de BabylonJS/BabylonNative
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
gofractally/psibase#2379 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
simnJS/AnyPS5#735 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs-format
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Niko1221/Strata#7719 · 1 comentario ·
Los mantenedores suelen responder en 4 días