Commit Graph

13 Commits

Author SHA1 Message Date
xujie e768c0ae16 Fix stringify bug for supporting proxy object
Add processing logic to handle proxy objects and avoid code logic from entering
serialize proxy.

Issue: https://gitee.com/openharmony/ark_js_runtime/issues/I4ZLYT

Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: If8c7c59bb9e0d6c156b13c5badf3c3f489c2b146
2022-03-25 17:26:05 +08:00
wengchangcheng 4804cd80d3 add Wextra and Werror in gn args
1. add -Wextra and -Werror to check code format error
2. modify all compiler error

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: If5fdd1980494269b4c06bf1bb38a8eba7952adea
2022-03-24 21:45:19 +08:00
y00576111 a1796a573e EcmaScript Standard Module Implementation
Delete the existing module implementation and
re implement the module function according to the ECMA 2018 specification

issue: #I4NZQT [https://gitee.com/openharmony/ark_ts2abc/issues/I4NZQT]

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: I8d381db7f8bf2f3d6b2a5c21cbc3cbab1aef0b9b
2022-03-10 19:10:42 +08:00
wengchangcheng 65ce5ee62d fix jspandafile of framework file and aot info
1. delete unused logic of framework pandafile
2. refactor native pointer callback
3. fix bug of generate aot info

https://gitee.com/openharmony/ark_js_runtime/issues/I4VSSL

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I3ba318a0bc2c0e95afff6473ff106bc8b5c9dfe4
2022-03-04 15:29:27 +08:00
xliu 23c75c7b84 fix TryLdGlobalByName and LookupPropertyInlinedProps
Description
  fix bugs of TryLdGlobalByName and LookupPropertyInlinedProps
  Add test cases for global aeecssor.
Related issue
  #I4TZT1: fix TryLdGlobalByName and LookupPropertyInlinedProps

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: If4b78a136ed2299a1ae1848d8c248f5265996905
2022-02-17 13:00:20 +08:00
wengchangcheng 2bfd68c01a modify ACCESSOR for EcmaString and TaggedArray
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I2995dc75ed34e8eb2bf249f2cced62ec9d91250e
2022-01-17 11:51:50 +08:00
ding c4ffd76fd3 template class
Signed-off-by: ding <dingding5@huawei.com>
2021-12-25 09:51:43 +08:00
zhangyukun a97747fe18 Description:sync from code from wgr_master to ohos
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
Change-Id: Ic66a9e649de8c0ce530483296fe323b8f50621fb
2021-12-21 09:36:03 +08:00
wengchangcheng 9a7fcb6e3c fix container using error and gc bug
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2021-10-20 18:00:44 +08:00
yingguofeng@huawei.com 104878d175 Delete JSNativeObject
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
Change-Id: I2f4a2e518497bf1f8a4724c63ef566cefed28271
Signed-off-by: yingguofeng@huawei.com <yingguofeng@huawei.com>
2021-10-09 15:28:48 +08:00
xujie fa3ad69451 resolve issue of taking 2 seconds to response after clicking mediaquery
Signed-off-by: xujie <xujie101@huawei.com>
2021-09-11 11:07:11 +08:00
zhangyukun 7ffcc4b20f Sync js_runtime to openharmony
Signed-off-by: zhangyukun <zhangyukun8@huawei.com>
2021-09-08 09:20:53 +08:00
wanyanglan 86cfe52253 add ark js_runtime
Signed-off-by: wanyanglan <wanyanglan1@huawei.com>
Change-Id: Iac7851492f10c0ef1303c621febb65e5fdd22e41
2021-09-05 16:05:06 +08:00