QuickJS Node-API conformance defects
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- cpp, javascript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
[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.
- Lingua principale
- C++
- Stelle
- 931
- Fork
- 169
- Merge medio
- 2g 17h
- PR unite (30g)
- 66
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di BabylonJS/BabylonNative
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
BabylonJS/BabylonNative#2138 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BabylonJS/BabylonNative#2042 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
BabylonJS/BabylonNative#2052 ·
I maintainer di solito rispondono entro 1 giorno
-
testing
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
BabylonJS/BabylonNative#2136 ·
I maintainer di solito rispondono entro 1 giorno
-
Support useNDCHalfZRange (half-range NDC depth) so Babylon.js half-range depth visual tests can runAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
BabylonJS/BabylonNative#2134 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di BabylonJS/BabylonNative
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
gofractally/psibase#2379 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
simnJS/AnyPS5#735 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-format
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Niko1221/Strata#7719 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni