« Bugzilla Issues Index
#657 — Wrong arguments for [[Put]] in 15.5.4.10
- bug_id:
657
- creation_ts:
2012-09-26 00:28:00 -0700
- short_desc:
Wrong arguments for [[Put]] in 15.5.4.10
- delta_ts:
2015-10-03 16:58:09 -0700
- product:
ECMA-262, Editions 5 and 5.1
- component:
technical content
- version:
Edition 5.1
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Sukyoung Ryu
- assigned_to:
Allen Wirfs-Brock
- cc:
["brterlso", "sukyoung.ryu"]
- commentid:
1612
- comment_count:
0
- who:
Sukyoung Ryu
- bug_when:
2012-09-26 00:28:56 -0700
In 15.5.4.10 String.prototype.match (regexp), the step 8-a is as follows:
Call the [[Put]] internal method of rx with arguments "lastIndex" and 0.
However, the [[Put]] internal method takes three arguments instead of two:
8.12.5 [[Put]](P,V,Throw)
- commentid:
14764
- comment_count:
1
- who:
Brian Terlson
- bug_when:
2015-10-03 16:58:09 -0700
Fixed in ES2015.