« Bugzilla Issues Index
#4228 — 22.2.1.5 %TypedArray%: Change "all other argument combinations" to "no arguments" or remove ?
- bug_id:
4228
- creation_ts:
2015-03-27 07:31:00 -0700
- short_desc:
22.2.1.5 %TypedArray%: Change "all other argument combinations" to "no arguments" or remove ?
- delta_ts:
2015-04-03 12:35:38 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 36: March 17, 2015 Release Candidate 3
- 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:
13945
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-03-27 07:31:24 -0700
22.2.1.5 %TypedArray% ( all other argument combinations )
The only other argument combination is "no arguments", all other combinations are handled in 22.2.1.1-4.
22.2.1.5 should either be changed to:
> 22.2.1.5 %TypedArray% ( no arguments )
or 22.2.1.1 should be changed to handle the zero arguments case.
Common browser behaviour for zero arguments (tested IE11, SpiderMonkey (hg tip), JavaScriptCore (trunk), V8 (master), Nashorn (hg tip)):
Zero arguments is handled as `0`, e.g. `new Int8Array().length === 0` in all engines tested. Also: `new Int8Array(undefined)` throws in 3/5 engines tested.
- commentid:
14002
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-01 14:47:10 -0700
fixed in rev37 editor's drafft
- commentid:
14094
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-04-03 12:35:38 -0700
In Rev37