« Bugzilla Issues Index
#3541 — 21.1.3.17 String.prototype.split: Handle `undefined` separator
- bug_id:
3541
- creation_ts:
2015-01-15 09:49:00 -0800
- short_desc:
21.1.3.17 String.prototype.split: Handle `undefined` separator
- delta_ts:
2015-01-15 16:19:00 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 30: December 24, 2014 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:
11382
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-01-15 09:49:25 -0800
21.1.3.17 String.prototype.split ( separator, limit )
Step 3: Too many browser tests broke when I implemented split as defined in rev30, step 3 needs at least to check for `undefined` separator. I don't know if testing for `null` is also required. And I don't know if the other strings methods (match, search, replace) are also affected.
- commentid:
11394
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-01-15 12:30:07 -0800
fixed in Rev31 editor's draft
added a not undefined guard.
I don't think we need to worry about undefined, as this seems to be all about missing arguments.
- commentid:
11411
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-01-15 16:19:00 -0800
In Rev31