« Bugzilla Issues Index
#1907 — 21.2.5.10 RegExp.prototype.split: unspecified limit should act like 2^53-1, not of 2^32-1
- bug_id:
1907
- creation_ts:
2013-09-25 01:50:00 -0700
- short_desc:
21.2.5.10 RegExp.prototype.split: unspecified limit should act like 2^53-1, not of 2^32-1
- delta_ts:
2013-09-27 14:47:31 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 18: September 5, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Claude Pache
- assigned_to:
Allen Wirfs-Brock
- commentid:
5422
- comment_count:
0
- who:
Claude Pache
- bug_when:
2013-09-25 01:50:26 -0700
Step 11 of the algorithm for RegExp.prototype.split says:
11. If limit is undefined, let lim = 2^32–1; else let lim = ToLength(limit)
An undefined `limit` argument should act like +∞, so that lim = ToLength(+∞) or 2^53–1.
- commentid:
5500
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-09-27 12:32:07 -0700
fixed in rev19 editor's draft
- commentid:
5549
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-09-27 14:47:31 -0700
fixed in rev19