Commit Graph

20 Commits

Author SHA1 Message Date
hjzhangcm a760638caa fix codex warning
Signed-off-by: hjzhangcm <zhanghaijun20@huawei.com>
2022-05-06 17:52:55 +08:00
zhaozhibo 4b279c9d79 fix codex warning
Signed-off-by: zhaozhibo <zhaozhibo3@huawei.com>
2022-04-30 10:31:33 +08:00
openharmony_ci 70ba7ae0fe !1097 Fix JSNapi::NumberRef
Merge pull request !1097 from xliu/fix_substring
2022-04-25 02:22:58 +00:00
wubinbin 2146484c8c add profiler
issue:https://gitee.com/openharmony/ark_js_runtime/issues/I53W91

Signed-off-by: wubinbin <wubinbin33@huawei.com>
2022-04-24 10:10:47 +08:00
xliu 97c5a3186c Fix JSNapi::NumberRef
Description
  1. Finding key 1 in Map ([[1, "CC"]]) returns undefined.
  2. Fix the problem in JSNapi::NumberRef, the complete constructor is not defined in this interface.
Issue:
  #I541HH:Fix JSNapi::NumberRef

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I1679258b8d426b280390e144116fc4326e43c35a
2022-04-22 15:54:47 +08:00
wwx1083752 99f8a0f659 Merge branch 'master' of gitee.com:openharmony/ark_js_runtime into master 2022-04-19 02:59:17 +00:00
wengchangcheng d6c835caea Descriptor: debugger refactor
details:
1. debugger refactor, don't use runtime debugger
2. fix debugger crash

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I08e3c86bf659b9e0a44d014d13b11462d50218b3
2022-04-17 01:16:26 +08:00
Riachel d16223a490 add HeapProfiler Interface
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-14 12:01:14 +08:00
Riachel 7fffdd00f4 codex
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-12 17:06:27 +08:00
Riachel 841f10ce17 codex
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-12 16:12:46 +08:00
Riachel b96f4ff09b modify CodeDEX
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-12 14:54:56 +08:00
Riachel 6b24845290 add heapprofiler interface
Signed-off-by: wwx1083752 <wubinbin33@huawei.com>
2022-04-08 17:07:03 +08:00
wengchangcheng 0b4981525d refactor stl container
1. using runtime container instead of stl container
2. change debugger line amd column type to int32_t

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

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: I0eb4651f17c6f6894f11de1ba904bcbe83a57db7
2022-04-06 16:05:22 +08:00
Gongyuhang 5ad84cd134 Add CallFunctionOn to avoid printing "Collecting data ..." when
JSBackend invoke GetProperties Function for "__proto__" and other items.

Changes:
modified:   ecmascript/tooling/agent/js_backend.cpp
modified:   ecmascript/tooling/agent/js_backend.h
modified:   ecmascript/tooling/agent/runtime_impl.cpp
modified:   ecmascript/tooling/agent/runtime_impl.h
modified:   ecmascript/tooling/base/pt_params.cpp
modified:   ecmascript/tooling/base/pt_params.h
modified:   ecmascript/tooling/base/pt_returns.cpp
modified:   ecmascript/tooling/base/pt_returns.h
modified:   ecmascript/tooling/base/pt_types.cpp
modified:   ecmascript/tooling/base/pt_types.h

Signed-off-by: Gongyuhang <gongyuhang5@huawei.com>
2022-03-25 19:23:52 +08:00
xujie 479b7c3785 Clean Code For CodeHub Issues #96-#123 And #250-#264
According to the problems pointed out by the issuer and the
specifications compiled by Huawei, modify the non-compliant
parts of jsruntime.

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

Signed-off-by: xujie <xujie101@huawei.com>
Change-Id: Iceb771dfd9f3aa9017205068fc50ab1a63aae08b
2022-03-21 17:09:19 +08:00
wengchangcheng b5af7ac677 support column debugger
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2022-01-26 10:40:48 +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
wengchangcheng 8c603a3b66 fix debugger crash
Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
2021-09-30 16:28:25 +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