« Bugzilla Issues Index
#2159 — 21.2.5.2.1 RegExpExec: Invalid call to CreateDataProperty in step 22
- bug_id:
2159
- creation_ts:
2013-11-02 02:19:00 -0700
- short_desc:
21.2.5.2.1 RegExpExec: Invalid call to CreateDataProperty in step 22
- delta_ts:
2014-01-27 07:10:25 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 20: October 28, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
6360
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-11-02 02:19:13 -0700
21.2.5.2.1 Runtime Semantics: RegExpExec Abstract Operation, step 22:
`CreateDataProperty(A, "length", n + 1)` is not valid, choices:
- Call [[DefineOwnProperty]] with PropertyDescriptor {[[Value]]: n + 1}
- Call Put(A, "length", n + 1)
- Call ArrayCreate with argument (n + 1) in step 17
- commentid:
6403
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-11-02 17:55:46 -0700
fixed in rev21 editor's draft
Used ArrayCreate(n+1)
This is a change from ES5, but the sequencing of these steps were not observable in ES5.
- commentid:
6488
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-11-08 13:08:34 -0800
fixed in rev21 draft