4 Commits

Author SHA1 Message Date
changjiaxing e41c9a60b8 fix bug of bigint assert and finalizationregistry GC
issus: https://gitee.com/openharmony/ark_js_runtime/issues/I5DBSA?from=project-issue

Signed-off-by: changjiaxing <changjiaxing1@huawei.com>
2022-06-22 14:05:29 +08:00
xdmal de8cddd1fe Optimize the finalizationRegistry interface code according to the review
Optimize the finalizationRegistry interface code according to the review

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5C10P

Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-06-13 16:08:00 +08:00
xdmal 7c4291fd4b Complete the finalizationRegistry interface function and UT use case
Complete the finalizationRegistry interface function and UT use case

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I5BTKX

Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-06-13 12:38:35 +08:00
xdmal a4062881d1 Add WeakRef and FinalizationRegistry interfaces
Add WeakRef and FinalizationRegistry interfaces

issue:https://gitee.com/openharmony/ark_js_runtime/issues/I57W11

Signed-off-by: xdmal <maxiaodong16@huawei.com>
2022-06-01 20:59:20 +08:00