Commit Graph

306 Commits

Author SHA1 Message Date
zha.wei
215446e669 description:add js array test case
Signed-off-by: zha.wei <zhawei@kaihong.com>
2023-06-28 14:33:46 +08:00
quiet-thought
1ef5c693d2 Bugfix on GlobalDictionary::InvalidateAndReplaceEntry
Issue: https://gitee.com/open_harmony/dashboard?issue_id=I7F9ZT

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I0bc1d40e5fb27463358a83ef1ddefc7ff59f852b
2023-06-28 09:48:43 +08:00
王笑佳
a3db09c594 Fix ecmascript::ObjectFactory::NewJSError存在空指针异常拒绝服务漏洞
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7C91I

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-27 17:22:31 +08:00
王笑佳
839249632e 应用超时
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7G4TC

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-27 14:24:49 +08:00
openharmony_ci
893573b5b5
!4308 函数panda::ecmascript::JSObject::SetElements存在非法内存写入漏洞
Merge pull request !4308 from 王笑佳/master
2023-06-26 14:17:12 +00:00
王笑佳
310b3ac4f6 函数panda::ecmascript::JSObject::SetElements存在非法内存写入漏洞
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7FRB8

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-26 19:49:40 +08:00
lichenshuai
d9a0ed1bb7 Fix AccessorData Cast Bug
Deal with PropertyBox before cast to AccessorData.

Issue: #I7FLRW

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ice3c11d8c5ea5f0e12fe5d3686773f6fd6b8da35
2023-06-25 10:19:30 +08:00
openharmony_ci
b847d79c53
!4288 Add CHECK_IS_JSOBJECT in LookupPropertyInlinedProps
Merge pull request !4288 from maojunwei/master
2023-06-21 08:39:36 +00:00
dov1s
085c9c5af3 Add CHECK_IS_JSOBJECT in LookupPropertyInlinedProps
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7EXM1?from=project-issue

Signed-off-by: dov1s <maojunwei1@huawei.com>
Change-Id: Id0f7175715270d42e009676d979d47a2e28d0e11
2023-06-21 15:41:14 +08:00
openharmony_ci
32443bf5ff
!4284 bugfix:errorName
Merge pull request !4284 from yaochaonan/error
2023-06-21 06:02:13 +00:00
yaochaonan
778a88424e Bugfix: ErrorName
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7EV2G?from=project-issue
Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I9e7f3a3ae647fb2a9940def1221e9769f6254607

Change-Id: I589ea8007510cec94348f45555889507a779474c
2023-06-21 08:26:06 +08:00
openharmony_ci
417d14b2fd
!4282 Bugfix: Freeze->SetIntegrityLevel
Merge pull request !4282 from yaochaonan/freeze
2023-06-20 12:24:48 +00:00
openharmony_ci
49aa690e51
!4264 Bugfix on BigInt::BigIntToNumber
Merge pull request !4264 from chenjingxiang/bigint_tonumber
2023-06-20 04:34:48 +00:00
openharmony_ci
ce998e0153
!4263 Bugfix on JSTypedArray::FastCopyElementToArray
Merge pull request !4263 from chenjingxiang/typedarray_copy
2023-06-20 04:09:03 +00:00
openharmony_ci
ab02d2dc77
!4281 Bugfix on BuiltinsSymbol::ToString and BuiltinsSymbol::ValueOf
Merge pull request !4281 from chenjingxiang/symbol
2023-06-20 04:04:47 +00:00
quiet-thought
3996e07ada Bugfix on BuiltinsSymbol::ToString and BuiltinsSymbol::ValueOf
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7EPY3

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I1761cd8bed78106c93afdfc81c2e20e952021273
2023-06-19 21:36:08 +08:00
quiet-thought
317545f906 Bugfix on JSTypedArray::FastCopyElementToArray
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/pulls/4263/

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I9f3dae03185b31056f2a091cf1836fe82c3beeab
2023-06-19 21:23:35 +08:00
yaochaonan
1659c58c9c Bugfix Freeze->SetIntegrityLevel
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7EQ58?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I12690a617e33af9693aca0fe86f9be8886670e77
2023-06-19 20:20:44 +08:00
openharmony_ci
3e0893a4ca
!4256 Bugfix:JSON.parse
Merge pull request !4256 from yaochaonan/bugfix
2023-06-19 10:53:34 +00:00
openharmony_ci
8c5f305c71
!4262 Bugfix: Freeze->SetIntegrityLevel
Merge pull request !4262 from yaochaonan/freeze
2023-06-19 09:32:19 +00:00
openharmony_ci
f1b778b1f2
!4257 函数panda::ecmascript::JSStableArray::Pop存在堆内存越界访问漏洞
Merge pull request !4257 from 王笑佳/master
2023-06-19 07:56:43 +00:00
maojunwei
ef45c79258 Bugfix:fixed setelements to dictionary mode array
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DJJ2

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I6ae673f1c5ab2f769f653bd8207969c35d981121
2023-06-19 11:52:15 +08:00
王笑佳
7e3170f617 函数panda::ecmascript::JSStableArray::Pop存在堆内存越界访问漏洞
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7E784

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-19 10:39:24 +08:00
yaochaonan
80c85c9d8f Bugfix:JSON.parse
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7E3I1?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: I9cad24023f433c1c39d2a063cd2b3c442b9fc959
2023-06-17 21:39:20 +08:00
quiet-thought
d3642ce4a2 Bugfix on BigInt::BigIntToNumber
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7E8AR

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Id12e761edaacd70eb86f19cdaa9459c657629366
2023-06-17 15:46:38 +08:00
yaochaonan
b30ed40633 Bugfix: SetIntegrityLevel
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7E8B1?from=project-issue

Signed-off-by: yaochaonan <yaochaonan@huawei.com>
Change-Id: Ibdd23d876788c8ba6fa74ff81ba987acae66d140
2023-06-17 15:17:43 +08:00
openharmony_ci
30571a4087
!4255 函数panda::ecmascript::builtins::BuiltinsTypedArray::Filter存在非法地址访问漏洞
Merge pull request !4255 from 王笑佳/master
2023-06-17 02:42:55 +00:00
王笑佳
c826dc1415 运行ABC文件过程中,函数panda::ecmascript::builtins::BuiltinsTypedArray::Filter未区分返回值的类型为整型或指针存在非法地址访问漏洞
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7E0FM

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-17 09:30:47 +08:00
openharmony_ci
d6d1854875
!4240 Fix GetPropertyByIndex
Merge pull request !4240 from maojunwei/master
2023-06-16 09:17:30 +00:00
openharmony_ci
f3342b1a9e
!4250 函数panda::ecmascript::JSTaggedValue::StrictEqual存在空指针异常拒绝服务漏洞
Merge pull request !4250 from 王笑佳/master
2023-06-16 04:06:26 +00:00
quiet-thought
3be786861f Bugfix on TypedArrayHelper::CreateFromArrayBuffer
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DGM6

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: If92deae5854cf585db65959d076e1e67ef33126f
2023-06-16 11:15:03 +08:00
openharmony_ci
2d03b1c8fc
!4242 Bugfix on SerializeJSONObject not timely return if abrupt completion
Merge pull request !4242 from chenjingxiang/json_stringifier
2023-06-16 03:00:03 +00:00
王笑佳
dc86ff3920 函数panda::ecmascript::JSTaggedValue::StrictEqual存在空指针异常拒绝服务漏洞
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DLDS

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-16 10:56:19 +08:00
openharmony_ci
b8ea746e55
!4244 Bugfix on ObjectFastOperator::SetPropertyByIndex
Merge pull request !4244 from chenjingxiang/object_setproperty
2023-06-16 02:55:36 +00:00
openharmony_ci
8290c52a11
!4243 Bugfix on BigInt::AsUintN: throw range error if maximum bigInt size exceeded
Merge pull request !4243 from chenjingxiang/bigint_asuintn
2023-06-16 02:51:30 +00:00
maojunwei
96136b3428 Fix GetPropertyByIndex
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7D85R

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I87406d35d0fcdb1df15091d0c53dd220c1a5e7ec
2023-06-15 17:17:35 +08:00
quiet-thought
8fbd0e7606 Bugfix on BigInt::AsUintN: throw range error if maximum bigInt size exceeded
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DG0J

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I072a16262b4d01a3dc8483cccc2b8505986ff5cb
2023-06-15 16:43:27 +08:00
quiet-thought
6559a74a84 Bugfix on SerializeJSONObject not timely return if abrupt completion
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DFJC

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Ie044d116592e0cb2b4c4f62e17e74a58b513e902
2023-06-15 15:53:31 +08:00
quiet-thought
875ae27c9b Bugfix on ObjectFastOperator::SetPropertyByIndex
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7DGCK

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I4e392c8e31b81cca192aaaeb1d2f2c7797a08605
2023-06-15 15:40:15 +08:00
lichenshuai
ebf64eb315 Fix Intl resolvedOptions bug
Add RequireInternalSlot check in corresponding process in resolvedOptions.

Issue: #I7DG79

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I241cff9430cde7c2871147ae49abe98d33214324
2023-06-15 11:32:09 +08:00
lichenshuai
3777569c1e Fix for-in Exception bug
Return if exception in corresponding process in for-in loop.

Issue: #I7D81A

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ifbc9050aa315703e8008b72c41a67342a6c59424
2023-06-14 11:24:05 +08:00
Rtangyu
dd4897a1b8 Fix the decodeURIComponent bug
issues:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7CTF7

Signed-off-by: Rtangyu <rentangyu@huawei.com>
2023-06-12 21:06:19 +08:00
王笑佳
ec5c8ea49d fix engine inconsistency bug
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I7BLK2

Signed-off-by: 王笑佳 <wangxiaojia5@huawei.com>
2023-06-09 11:52:09 +08:00
lichenshuai
754a47b63b Fix Multiplication -0 Bug
Fix the case when a negative number multiplies with 0.

Issue: #I79Y5V

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Icbbd9dad0402441d281301b9bff6bfa1e4771ea1
2023-06-01 16:47:49 +08:00
lichenshuai
f261ee7c22 Fix NumberToString bug
Don't return in the fast path of `NumberToString` if the result is not correct.

Issue: #I78HSC

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I53722af3dd229416cc302e37c503c10eae4688be
2023-05-26 14:55:10 +08:00
openharmony_ci
6e713cc220
!4085 Fix String extend Bug
Merge pull request !4085 from 李晨帅/master
2023-05-23 03:19:22 +00:00
lichenshuai
29b851a1fe Fix String extend Bug
According to ECMA-262, when String() is called, NewTarget should be used for StringCreate().

Issue: #I76R3J

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I7c968839e26684e9cdbd28103da354444be2e463
2023-05-22 16:02:21 +08:00
openharmony_ci
1ca84d4e0c
!4071 Fix FastCopyElementFromArray
Merge pull request !4071 from maojunwei/array_fix
2023-05-18 09:24:31 +00:00
maojunwei
541596c236 Fix FastCopyElementFromArray
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I73JFA?from=project-issue

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: Ie134551661252c238b300a422703096a98ce0bc3
2023-05-18 09:37:07 +08:00
openharmony_ci
c2e71e77d2
!4025 Bugfix on StackOverflow in GetAsmStackLimit
Merge pull request !4025 from chenjingxiang/stackoverflow
2023-05-15 12:09:02 +00:00
openharmony_ci
abf245cca7
!4016 BugFix RegExp WordBoundary
Merge pull request !4016 from yaoyuan/master
2023-05-15 02:16:40 +00:00
quiet-thought
e90b18294d Bugfix on StackOverflow in GetAsmStackLimit
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I71EN9

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Ibdddb2cefb7aaf34f7314e3c5bb6e364a0a07ae2
2023-05-13 15:25:17 +08:00
openharmony_ci
61801e0f2f
!4031 Fix JSTaggedValue::Equal Bug
Merge pull request !4031 from 李晨帅/master
2023-05-11 06:23:36 +00:00
lichenshuai
1898e054fc Fix JSTaggedValue::Equal Bug
Fix JSTaggedValue::Equal() according to ECMA 262.

Issue: #I71K7H

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: Ib3b8aff72bf0a6bb9d1b687fd4a9bfba0307f527
2023-05-11 11:01:03 +08:00
openharmony_ci
6d8ffd63cf
!4027 bugfix of Compare Date
Merge pull request !4027 from maojunwei/master
2023-05-10 10:12:26 +00:00
maojunwei
ad5feaadd6 bugfix of Compare Date
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I71FTU?from=project-issue

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: Ic00eeca26b952f3f05377d204f82b9e602a5e454
2023-05-09 14:41:58 +08:00
yuanyao
2c28b3db57 BugFix on RegExp WordBoundary
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I70KP0

Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: Ic69266867a057035195f7c3167c0e643a8f407bc
2023-05-05 09:00:04 +00:00
quiet-thought
71219d8972 Bugfix on Array.Join
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6ZEY4

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: Ia87b9f9626bf6cdba1ff38cdd1e5a7af4a786a52
2023-04-27 17:25:50 +08:00
openharmony_ci
58e3ab5f2b
!3980 Fix the code format problem
Merge pull request !3980 from hwx1163501/master
2023-04-25 07:51:54 +00:00
hwx1163501
eff5acc78a Fix the code format problem
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6YDIC
2023-04-25 14:00:00 +08:00
wupengyong
c1aa7ecd82 Reason:add function apply builtins ir
Description:add function apply ir
Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6Y5E4?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Ie5ade286a56c5237175476a6a0b915558b87c454
2023-04-24 21:03:55 +08:00
quiet-thought
254d8323df Bugfix on Array.apply
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6WZJR

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I0d851b157f49bd44ad3a29866d922b854da36f23
2023-04-20 17:03:05 +08:00
openharmony_ci
7cf600c57f
!3876 Fix json parser bug
Merge pull request !3876 from dingwen/json_br
2023-04-11 12:01:02 +00:00
openharmony_ci
f12a7e338f
!3899 Bugfix of inaccurate index when using "Export... as ...".
Merge pull request !3899 from DaiHN/exportas
2023-04-11 07:48:22 +00:00
openharmony_ci
55f284b59f
!3902 BugFix on Array::Splice
Merge pull request !3902 from yaoyuan/master
2023-04-11 06:57:41 +00:00
DaiHN
9baaa9469a Bugfix of inaccurate index when using "Export... as ..."
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6U1P9?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: I68309a13068fa1bf578bfbd8867a074af56fc3d9
2023-04-11 14:42:48 +08:00
maojunwei
73f3401a67 bugfix about date
Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: Idd109521a2f350a6b770d218c0a3c89d6fe9a430
2023-04-10 20:24:30 +08:00
yuanyao
f09994eb01 BugFix of Array::Splice
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6UCFA

Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: If9ff14747ee5918f34cf225c24ee03a819b773c3
2023-04-10 17:34:13 +08:00
openharmony_ci
43415fa0bd
!3884 bugfix date
Merge pull request !3884 from maojunwei/master
2023-04-06 17:38:17 +00:00
maojunwei
07a56857ef bugfix dst date
Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I62930a152166a5b315d55f1fbbadb102493b6f93
2023-04-07 00:51:38 +08:00
openharmony_ci
85627787fa
!3841 Fix ic in multi proto
Merge pull request !3841 from xliu/fix_ic_bug
2023-04-06 06:37:47 +00:00
dingwen
b5c67d6a1f Fix json parser bug
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6T78V?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I470b88f1c518382273508622701a51830e119f6a
2023-04-06 10:31:36 +08:00
openharmony_ci
9b0895bbec
!3861 Fix issue when esm nested importing cjs
Merge pull request !3861 from DaiHN/nestedimport
2023-04-04 10:37:07 +00:00
xliu
77461402e0 Fix ic in multi proto
Description:
Fix ic in multi proto, do not share classes in multi-proto state
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6RO47

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: I8d959b858fa3f7ecd8b1d0117646d0abb5b17023
2023-04-04 17:32:44 +08:00
DaiHN
c8c7cb577a Fix issue when esm nested importing cjs
--------------------
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6SRSN?from=project-issue

Signed-off-by: DaiHN <daihuina1@huawei.com>
Change-Id: Icb5886416bee06b62006b4264b57966d477056d8
2023-04-04 14:17:59 +08:00
openharmony_ci
7b8e028670
!3840 Fix hugearray Test bug
Merge pull request !3840 from 李晨帅/master
2023-03-31 04:06:39 +00:00
lichenshuai
b6767bc922 Fix hugearray Test bug
hugearray test was temporarily disabled. Fix bug and enable it.

Issue: #I6ROJH

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I2891ea1059dde74007bd57de254124404e487430
2023-03-30 16:43:36 +08:00
openharmony_ci
3a4d6923b0
!3645 Modified file for Standalone build for arm and arm64 versions
Merge pull request !3645 from Zhoucong/arm
2023-03-29 13:14:18 +00:00
lichenshuai
4e84fcb8f6 Temporarily Disable hugearray Test
hugearray test occasionally fail in CI. Temporarily disable it.

Issue: #I6R3KC

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I902355d42bda5d375e82f0136593b60b23cc3ce6
2023-03-28 19:29:22 +08:00
openharmony_ci
cc4286f538
!3768 Optimize FromCharCode C++ interface
Merge pull request !3768 from dingwen/fromCharCode
2023-03-28 02:05:59 +00:00
lordwithcc
55783de470 Modify for standalone arm
Signed-off-by: lordwithcc <zhoucong40@huawei.com>
2023-03-27 17:00:18 +08:00
dingwen
fa6d1cde91 Optimize FromCharCode C++ interface
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6OVYD?from=project-issue

Signed-off-by: dingwen <dingwen6@huawei.com>
Change-Id: I73b35dbe413c19eece63ec8e1a1409c01aaf5447
2023-03-27 10:05:53 +08:00
lichenshuai
603a8bdce7 Fix FillFreeObject Bug
This bug is caused due to a huge object contains more than 1 region.
It causes browser crash if it contains more than 100 windows.

Issue: #I6PU9W

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I6887ad4444d2092c8012568c9752ee0d4a07d6c8
2023-03-25 09:34:25 +08:00
hwx1163501
36c40e6a18 Modifying Code Alarms
Signed-off-by: hwx1163501 <hanjing35@huawei.com>
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6OGOK
2023-03-20 14:04:57 +08:00
maojunwei
b39ddf4aab Eliminate Daylight Savings Offset
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6N3YO?from=project-issue

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: Idd1ec74d7d2c9068cb67e0a8a3c46acb5eb9320e
2023-03-15 10:10:06 +08:00
openharmony_ci
08fc882953
!3701 bugfix 262 cases of for-await-of
Merge pull request !3701 from maojunwei/bugfix_forawaitof_262
2023-03-13 13:06:06 +00:00
maojunwei
80b0eed438 bugfix 262 cases of for-await-of
issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/I6KAG4?from=project-issue

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I9410513b0b4b49f72f0ab3e659a0ac19e5cd7e2d
2023-03-13 18:38:28 +08:00
lichenshuai
638f83b88d Fix RegExp Cache Bug and Rearrange Lock
Fix RegExp cache bug by using the copy of JSArray.
Move lock from TaskPool to Runner.

Issue: #I6KPSQ

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I8597c23c9fa01c5e7d0d5f35ecc3ed321e2917f5
2023-03-08 16:01:55 +08:00
wengchangcheng
3751ef8609 Modify unittest gn
Use foreach to deps ut

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6KNIH

Signed-off-by: wengchangcheng <wengchangcheng@huawei.com>
Change-Id: Ifbd6e8b4eb1212eb07e7bb8a727a79bf716b52d9
2023-03-07 16:13:45 +08:00
linxiang8
1fe4846e88 Signed-off-by: linxiang8 <linxiang8@huawei.com>
Change-Id: I474a84db7d80ec0f5370a4f58df115963e21d90f

Change-Id: I471252903083c4d2d15f389b23afbc6c5427f664
2023-03-02 10:10:33 +08:00
maojunwei
b4ebf86687 Fix AsyncGenerator
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6AAHY?from=project-issue

Signed-off-by: maojunwei <maojunwei1@huawei.com>
Change-Id: I4e2b4eec4c9ac1346f8b6d7f6d13a6818c83f5d3
2023-02-23 18:43:29 +08:00
xliu
4887ccacf2 Fix instanceof ic in c interpreter
Description:
The IC implementation of the instance instruction in the C interpreter has a GC problem, and the objects on the stack are not protected
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6GOCX

Signed-off-by: xliu <liuxin259@huawei.com>
Change-Id: If0ac1f0ff242ca7c3ec848b97e68cc976994524c
2023-02-21 17:23:32 +08:00
DaiHN
a5ca279dfd Bugfix for loading circular dependency cjs file
-------------------------------------------
issue : https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6GGOB?from=project-issue
Signed-off-by: DaiHN <daihuina1@huawei.com>

Change-Id: Iaf3fa24064512981a1917c69d0e196be7360a1f2
2023-02-21 14:22:57 +08:00
lichenshuai
4eae26af2b Fix GetOwnPropertyKeys Bug
Fix the case when obj is not JSObject in GetOwnPropertyKeys.

Issue: #I6EX3R

Signed-off-by: lichenshuai <lichenshuai@huawei.com>
Change-Id: I2ba0ece77280ece2e7c773c10f30c4dc3a42f8c9
2023-02-14 14:49:36 +08:00
wupengyong
4f323d7f68 reason:add date parse js test
description:add date parse js test
issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6DAD0?from=project-issue

Signed-off-by: wupengyong <wupengyong@huawei.com>
Change-Id: Iee46e89e6650ba9a5d863a8c3007501bc4eb4fba
2023-02-06 20:52:30 +08:00
yuanyao
327112583c RegExp enables $1..$9 global cache
Description:
    enables RegExp.$1 ... .$9
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6BTMN

Signed-off-by: yuanyao <yuanyao14@huawei.com>
Change-Id: I78055455669e5f326a1b5aa8c199c24ce1fd44d7
2023-02-03 09:52:03 +08:00
quiet-thought
24a7df8b35 Add testcase for JSON.parse
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6BUQ2

Signed-off-by: quiet-thought <chenjingxiang1@huawei.com>
Change-Id: I1d9728ac8d73038255a9b26057132fe5a6e653a4
2023-01-31 10:03:50 +08:00
openharmony_ci
0e1f7e7bff
!3420 Bugfix of using " import "./test.js" " to load cjs module
Merge pull request !3420 from DaiHN/esmbugfix-f
2023-01-14 08:23:51 +00:00
openharmony_ci
51be825113
!3419 add the concurrent(taskpool) test
Merge pull request !3419 from huangfeijie/concurrent_test
2023-01-13 12:50:09 +00:00
huangfeijie
3b24c48bec add the concurrent module test
add the test to check the concurrent function's name
issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6AG27

Signed-off-by: huangfeijie <huangfeijie@huawei.com>
2023-01-13 17:00:34 +08:00