JavaScriptCore Node-API conformance defects
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/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_javascriptcore.cc and the skipped test list in Dependencies/JsRuntimeHost/Tests/NodeApi/test_main.cpp. Choose one defect and run its named Node-API conformance test to understand the expected behavior; the issue lists several independent failures across value conversion, classes, finalizers, and Android. Done means fixing the selected behavior and removing its corresponding exclusion so the test guards the fix.
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 JavaScriptCore. Their exclusions in Dependencies/JsRuntimeHost/Tests/NodeApi/test_main.cpp link here; the implementation is Dependencies/JsRuntimeHost/Core/Node-API/Source/js_native_api_javascriptcore.cc. Remove an exclusion when its item is fixed, so the test guards the fix.
- There is no
napi_create_date,napi_is_dateornapi_get_date_value, so thetest_dateaddon cannot load and is not built. Skipstest_date/. -
napi_create_array_with_lengththrows a RangeError for the maximum array length (2^32-1) instead of returning an array. Skipstest_array/test.js. -
napi_define_classdereferences a NULL properties array and crashes. Skipstest_constructor/test.jsandtest_constructor/test_null.js. -
napi_define_propertiestakesenumerablefromnapi_configurable, and read-only assignment errors use different message text from V8's. Both also failtest_constructor/test.js. -
napi_define_classdoes not set the constructor's name. Skipstest_constructor/test2.js. - Value getters coerce instead of returning
napi_*_expected, and string getters write through a NULLresultwhenbufis NULL, which crashes. Skipstest_conversions/test.js. - An external's finalizer runs only at context teardown, where
napi_throw_errorallocates during garbage collection and aborts. Skipstest_exception/testFinalizerException.js. -
napi_create_functionignores the name length and accepts a NULL callback. Skipstest_function/test.js. -
napi_add_finalizercallbacks are not called before exit (0 of 2 expected calls). Skipstest_general/testFinalizer.js. -
napi_run_scriptconverts a non-string script to a string instead of returningnapi_string_expected. Skipstest_general/testNapiRun.js. -
napi_get_value_doublecoerces a string instead of returningnapi_number_expected. Skipstest_general/testNapiStatus.js. -
napi_instanceofpasses a non-object constructor toJSValueIsInstanceOfConstructor, which crashes. Skipstest_general/testV8Instanceof.js. - Integer getters cast out-of-range doubles instead of wrapping (int32 and uint32) or saturating (int64). Skips
test_number/test.js. -
napi_remove_wraprejects an object wrapped with a NULL native pointer. Skipstest_reference_double_free/test_wrap.js. -
napi_create_functioncreates the function withJSObjectMakeFunctionWithCallback, which is not a constructor, so a class cannot extend it. Skipstest_new_target/test.js. - On Android, jsc-android (WebKit r250231) predates WebKit's 2020 fix that gives
JSObjectMakeConstructorinstancesnew.target's prototype, so subclass instances lose their methods.test_new_target/test.jsalso needs this fixed on Android.
- 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 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
-
area:tests kind:test
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día