« Bugzilla Issues Index
#628 — String.prototype.repeat uses ToInteger without check for ∞
- bug_id:
628
- creation_ts:
2012-08-23 06:15:00 -0700
- short_desc:
String.prototype.repeat uses ToInteger without check for ∞
- delta_ts:
2012-09-28 12:23:58 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 9: July 8, 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Geoffrey Sneddon
- assigned_to:
Allen Wirfs-Brock
- commentid:
1530
- comment_count:
0
- who:
Geoffrey Sneddon
- bug_when:
2012-08-23 06:15:18 -0700
As the summary says, it's possible to create an infinitely repeating string. Should probably throw RangeError along with ≤0.
- commentid:
1560
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-08-30 15:31:00 -0700
corrected in editor's draft
- commentid:
1645
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-09-28 12:23:58 -0700
fixed in rev10, Sept. 27 2012 draft