« Bugzilla Issues Index
#4283 — 13.3.1 Date.prototype.toLocaleString: Missing ReturnIfAbrupt; Unnecessary steps
- bug_id:
4283
- creation_ts:
2015-04-16 10:38:00 -0700
- short_desc:
13.3.1 Date.prototype.toLocaleString: Missing ReturnIfAbrupt; Unnecessary steps
- delta_ts:
2015-04-16 20:44:22 -0700
- product:
Internationalization - ECMA-402
- component:
Specification
- version:
Edition 2.0 drafts
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Rick Waldron
- cc:
waldron.rick
- commentid:
14195
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-04-16 10:38:29 -0700
13.3.1 Date.prototype.toLocaleString ([locales [, options ]])
Missing ReturnIfAbrupt after `thisTimeValue` in step 1.
"then" in step 2 should be elided:
> 2. If x is NaN, return "Invalid Date".
Missing ReturnIfAbrupt after ToDateTimeOptions in step 3.
Steps 6-8 can be merged:
> 6. Return FormatDateTime(dateFormat, x).
- commentid:
14222
- comment_count:
1
- who:
Rick Waldron
- bug_when:
2015-04-16 12:41:37 -0700
> Missing ReturnIfAbrupt after `thisTimeValue` in step 1.
Fixed.
> "then" in step 2 should be elided:
> 2. If x is NaN, return "Invalid Date".
Fixed.
> Missing ReturnIfAbrupt after ToDateTimeOptions in step 3.
Fixed.
Steps 6-8 can be merged:
> 6. Return FormatDateTime(dateFormat, x).
Fixed.