Commit Graph

361 Commits

Author SHA1 Message Date
openharmony_ci
aa2cbd48b4
!4699 修复Array.prototype.with(), Array.prototype.toSpliced(),Array.prototype.toReversed()存在问题
Merge pull request !4699 from shen-zhebei/master
2023-09-01 07:51:07 +00:00
openharmony_ci
63e12262c3
!4649 Bugfix for Reload module crash when garbage collection didn't be triggered
Merge pull request !4649 from DaiHN/fixderegister
2023-08-30 01:47:18 +00:00
shen-zhebei
4af173b6d8 Fix array problems
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VXZ8wq

Signed-off-by: shen-zhebei <1246431727@qq.com>
Change-Id: Iae8ed9ab4fa45e8f94e1c6d069585293c442fd73
2023-08-29 10:01:29 +08:00
openharmony_ci
93b44cdd10
!4653 Bugfix on JSFunction::GetOrCreateDerivedJSHClass when [[Prototype]] is modified
Merge pull request !4653 from chenjingxiang/getorcreate_derived_hclass_when_proto_is_changed_br
2023-08-27 02:02:14 +00:00
quiet-thought
35fec374f4 Bugfix on JSFunction::GetOrCreateDerivedJSHClass when [[Prototype]] is modified
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I7UYFO

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Iea473d285285ad5e25a30bb0e931402a0981fff4
2023-08-26 22:13:05 +08:00
openharmony_ci
63a992e10d
!4657 Fix function apply ir bug
Merge pull request !4657 from wpy111/master
2023-08-26 09:34:01 +00:00
openharmony_ci
24c7bffc31
!4684 运行ABC文件过程中,函数panda::ecmascript::EcmaString::FlattenNoGC存在空指针异常拒绝服务漏洞
Merge pull request !4684 from 任堂宇/master
2023-08-26 09:12:18 +00:00
rentangyu
d49eac3009 运行ABC文件过程中,函数panda::ecmascript::EcmaString::FlattenNoGC存在空指针异常拒绝服务漏洞
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VZER

Signed-off-by: rentangyu <rentangyu@huawei.com>
2023-08-26 11:37:27 +08:00
openharmony_ci
9e027c99cb
!4677 修复Array.prototype.[last]indexOf在Stable路径的漏洞
Merge pull request !4677 from Onlynagesha/dev-builtin-indexof-bugfix
2023-08-25 09:38:42 +00:00
Onlynagesha
200be9ea04 Bugfix in stable path of Array.prototype.[last]indexOf
Fixes a bug in the stable path of Array.prototype.indexOf and
Array.prototype.lastIndexOf where fromIndex is an Object with valueOf
and toString methods that have side effects to current array.
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VQSP

Signed-off-by: Onlynagesha <orina_zju@163.com>
Change-Id: I0bb8186018a8ccb715b13a7b92c925f35799be08
2023-08-25 15:54:30 +08:00
wuwenlu
36af307871 修改Array对象的原型__proto__,某些场景下arr[index]和arr.at(index)值不一致
Signed-off-by: wuwenlu <wuwenlu@kaihong.com>
2023-08-25 00:39:31 -07:00
wupengyong
f35bc1221e Reason:Fix function apply ir bug
Description:Fix function apply ir bug
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7V5S4?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ice873828c23f995f2b51f9b23ea1a7aa5baf65c6
2023-08-25 11:49:46 +08:00
openharmony_ci
2a0e28eb92
!4665 Bugfix on TryToElementsIndex when key is String and key is larger than int32 maximum
Merge pull request !4665 from chenjingxiang/try_to_elements_index
2023-08-24 07:47:38 +00:00
openharmony_ci
77ddf876fe
!4648 Bugfix on StoreICByName when set arr.length property and transform to dictionary mode
Merge pull request !4648 from chenjingxiang/storeicbyname_dictionary_mode_br
2023-08-24 07:39:29 +00:00
quiet-thought
3bf2319356 Bugfix on TryToElementsIndex when key is String and key is larger than int32 maximum
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7VDGH

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I62100d9b5d7461e3b757071ad064d92b3d6ddacd
2023-08-24 14:46:00 +08:00
DaiHN
ebc3cc1353 Bugfix for Reload module crash when garbage collection didn't be triggered
issue :#I7UGTT

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: Ie877308d76aa2e8d777dff794484d70035c4fb23
2023-08-23 18:08:35 +08:00
openharmony_ci
1a2e7ecfbe
!4645 支持Builtins escape & unescape 函数
Merge pull request !4645 from 查维/master
2023-08-23 06:40:38 +00:00
quiet-thought
0de4981edc Bugfix on StoreICByName when set arr.length property and transform to dictionary mode
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7UTOA

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I3f30fb5d75a27175d158511a8b4552197697b643
2023-08-21 17:39:03 +08:00
openharmony_ci
ae6079d190
!4640 opt array.reverse & bugfix
Merge pull request !4640 from maojunwei/array_opt
2023-08-21 07:39:05 +00:00
openharmony_ci
33ed8e637d
!4643 [Bug]: 汇编解释器Constructor相关代码未对newTarget进行判断,导致直接取HClass崩溃
Merge pull request !4643 from 李晨帅/newTargetNotHeapIR
2023-08-21 02:24:41 +00:00
dov1s
397d2a06fc opt array.reverse
issue:I7U339

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: I8f35e19dfcc898039749f19ab9b4b722d6f74f7b
2023-08-21 09:42:49 +08:00
zha.wei
cb6cc5da79 description: BUILD.gn format error fix
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-20 11:02:06 +08:00
zha.wei
b0645d7d6d description:support global escape&unescape feature
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-19 23:42:34 +08:00
openharmony_ci
1467f8f1fc
!4629 运行ABC文件过程中,函数panda::ecmascript::builtins::BuiltinsTypedArray::Set存在堆越界写漏洞
Merge pull request !4629 from 王笑佳/master
2023-08-19 10:04:13 +00:00
lichenshuai
76b6d2d947 [Bug]: 汇编解释器Constructor相关代码未对newTarget进行判断,导致直接取HClass崩溃
增加对newTarget的判断,避免直接取Hclass导致的崩溃。

Issue: #I7UFWQ

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ie23a9df7307f07222bfa238224ffa7982e2cbd46
2023-08-19 15:58:52 +08:00
王笑佳
e1affc730c Fix 函数panda::ecmascript::builtins::BuiltinsTypedArray::Set存在堆越界写漏洞
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7TB6W

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-08-18 16:46:17 +08:00
openharmony_ci
1c6141b814
!4637 Bugfix on LoadICRuntime::LoadMiss for key not call ToPropertyKey
Merge pull request !4637 from chenjingxiang/loadicmiss_getproperty_br
2023-08-18 05:08:48 +00:00
quiet-thought
2c73fd6469 Bugfix for JSForInterator::NextInternal not return exception timely
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7TTZW

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Ie06260a46101a4407f7a01adc0148f5b6b38acb6
2023-08-17 16:34:20 +08:00
quiet-thought
2da654b749 Bugfix on LoadICRuntime::LoadMiss for key not call ToPropertyKey
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7TU19

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Iff0a6c640ab232e029dd7c1dc5cb5b74ef4ea949
2023-08-17 16:23:38 +08:00
quiet-thought
bb87bddcdb Bugfix on JsonParser::ParseNumber when strNum is less than double minimum
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/pulls/4626

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I78969fd5a774f7cabf532f08b7ba9ad4378fd9d3
2023-08-14 19:34:05 +08:00
zha.wei
22ea93f87f description:合并冲突
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-14 11:59:07 +08:00
openharmony_ci
4106c914da
!4608 Bugfix on JsonParser::ParseNumber when strNum is larger than double maximum
Merge pull request !4608 from chenjingxiang/json_parser_number
2023-08-12 10:17:39 +00:00
openharmony_ci
7b5de2906f
!4464 ECMA Script 2023-支持TypedArray.prototype.toReversed方法
Merge pull request !4464 from 查维/master
2023-08-12 09:54:59 +00:00
openharmony_ci
a9112d8e61
!4619 Bugfix on BuiltinsAtomics::HandleWithBigInt64 not timely return exception
Merge pull request !4619 from chenjingxiang/bigint_return_exception_br
2023-08-12 09:06:18 +00:00
openharmony_ci
1b8c04a161
!4617 Bugfix on RuntimeStubs::RuntimeInstanceofByHandler return exception
Merge pull request !4617 from chenjingxiang/c_instanceof_ic_return_exception_br
2023-08-12 08:20:13 +00:00
zha.wei
df21124854 description:typedarray toReversed解决冲突
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-11 16:48:18 +08:00
quiet-thought
b510ddced5 Bugfix on BuiltinsAtomics::HandleWithBigInt64 not timely return exception
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7SECX

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I87829cfa0c4c939e92e3048aee62b832da7f50f2
2023-08-11 11:14:47 +08:00
zha.wei
0d11cd9683 description:解决冲突
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-11 10:49:17 +08:00
quiet-thought
c73261dd84 Bugfix on RuntimeStubs::RuntimeInstanceofByHandler return exception
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7SDBG

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Iaa5add56365d45b9249c775b6233110804ad902b
2023-08-11 10:25:04 +08:00
quiet-thought
88746274f1 Bugfix on JsonParser::ParseNumber when strNum is larger than double maximum
Issue: Bugfix on JsonParser::ParseNumber when strNum is larger than double maximum

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: If525e00686f1e648fb3a72b0e4ddf901c5c922f5
2023-08-10 20:10:28 +08:00
zha.wei
86f854ef47 description:冲突解决
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-08-10 17:18:21 +08:00
openharmony_ci
644dffd1d8
!4443 支持ECMA2023规范Builtins Array.prototype和TypedArray.prototype新增findLast,findLastIndex方法
Merge pull request !4443 from 吴文璐/for_find_last
2023-08-10 07:17:28 +00:00
openharmony_ci
1985943260
!4596 Bugfix on EcmaString::CreateTreeString create long ecmaString
Merge pull request !4596 from chenjingxiang/ecma_string_create_error_br
2023-08-10 02:45:51 +00:00
wuwenlu
26784cd235 Add findLast and findLastIndex for Array.prototype and %TypedArray%.prototype
Signed-off-by: wuwenlu <wuwenlu@kaihong.com>
2023-08-09 01:16:04 -07:00
openharmony_ci
d14a02e57f
!4480 支持ECMA2023规范Builtins %TypedArray%.prototype.toSorted和%TypedArray%.prototype.with
Merge pull request !4480 from 吴文璐/for_with
2023-08-09 07:45:11 +00:00
openharmony_ci
7f28d86d73
!4599 Bugfix on NumberDictionary::Hash is not support double type key
Merge pull request !4599 from chenjingxiang/number_dict_hash_support_double_br
2023-08-09 03:25:50 +00:00
查维
f0d930084a Merge branch 'master' of gitee.com:openharmony/arkcompiler_ets_runtime into master
Signed-off-by: 查维 <zhawei@kaihong.com>
2023-08-09 02:29:46 +00:00
查维
ca768d783d Merge branch 'master' of gitee.com:openharmony/arkcompiler_ets_runtime into master
Signed-off-by: 查维 <zhawei@kaihong.com>
2023-08-09 02:21:22 +00:00
wuwenlu
1285d83282 add %TypedArray%.prototype.toSorted and %TypedArray%.prototype.with
Signed-off-by: wuwenlu <wuwenlu@kaihong.com>
2023-08-08 19:18:00 -07:00
openharmony_ci
e5ea5c2c0c
!4394 支持ECMA2023规范Builtins 允许Symbol作为弱容器的key
Merge pull request !4394 from 吴文璐/symbol_for_weak
2023-08-09 01:38:53 +00:00