Fix the private field crash for the Array object.
Fix the private field crash in the Array object mentioned in https://github.com/jerryscript-project/jerryscript/issues/5138
Good patch. Please add the testcase.
Good patch. Please add the testcase.
Added.
Please squash the commits and add DCO to the commit message.
@akosthekiss Please review the latest changes.
We should check whether this fixes #5097 and #5100
I've updated the test cases and rebased to the master. This PR fixes #5097 and #5100 and #5138 as well.
@robertsipka could you please add new regression tests with the issue numbers for all three?
@robertsipka could you please add new regression tests with the issue numbers for all three?
I've followed the author's original intention and amended the other two test cases to the test case which was originally included in the PR, but It's actually easier to follow if they are added as regression tests, I modified it.