« Bugzilla Issues Index
#1591 — Coverage: 10.6 enumeration of arguments object
- bug_id:
1591
- creation_ts:
2013-07-17 15:23:00 -0700
- short_desc:
Coverage: 10.6 enumeration of arguments object
- delta_ts:
2013-07-17 15:23:38 -0700
- product:
Test262
- component:
ECMA-262 Tests
- version:
unspecified
- rep_platform:
All
- op_sys:
All
- bug_status:
CONFIRMED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Murat Sutunc
- assigned_to:
Brian Terlson
- commentid:
4549
- comment_count:
0
- who:
Murat Sutunc
- bug_when:
2013-07-17 15:23:38 -0700
The coverage around missing formals, actual parameters and enumeration of the defined formals is missing.
function f(a, b, c)
{
for (var i in arguments)
console.log(arguments[i]);
}
f(5);
//expected 5
The reason this is interesting is that the collateral has tests where there are no formals but x number of parameters or has couple formals but no parameters. Having some number of formals missing is currently a gap that needs coverage.