« Bugzilla Issues Index
#931 — Map/Set prototype.size needs to spec enumerabiliti
- bug_id:
931
- creation_ts:
2012-11-06 07:07:00 -0800
- short_desc:
Map/Set prototype.size needs to spec enumerabiliti
- delta_ts:
2015-07-10 08:34:22 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 11: October 26, 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Erik Arvidsson
- assigned_to:
Allen Wirfs-Brock
- cc:
erik.arvidsson
- commentid:
2422
- comment_count:
0
- who:
Erik Arvidsson
- bug_when:
2012-11-06 07:07:54 -0800
Currently Map.prototype.size and Set.prototype.size are underspecified. The [[Enumberable]] and [[Configurable]] should be false and true respectively.
https://mail.mozilla.org/pipermail/es-discuss/2012-October/026068.html
- commentid:
2423
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-11-06 07:48:47 -0800
Note that the last sentence of the last paragraph of the introduction to clause 15 says:
Every other property described in this clause has the attributes [[Writable]]: true, [[Enumerable]]: false, and [[Configurable]]: true.
- commentid:
2424
- comment_count:
2
- who:
Erik Arvidsson
- bug_when:
2012-11-06 07:59:39 -0800
Sorry for the noise. I stopped reading that paragraph after seeing "length".
Maybe that part can be moved to its own paragraph?
- commentid:
2427
- comment_count:
3
- who:
Erik Arvidsson
- bug_when:
2012-11-06 10:49:13 -0800
Also, the spec talks about data properties [[Writable]] true. It should probably be made more generic to cover these new getters.
- commentid:
2546
- comment_count:
4
- who:
Allen Wirfs-Brock
- bug_when:
2012-11-22 12:40:24 -0800
did some updates to clause 15 to address the clarity issues. In rev 12
- commentid:
2648
- comment_count:
5
- who:
Allen Wirfs-Brock
- bug_when:
2012-11-23 09:45:41 -0800
corrected in rev 12, Nov. 22, 2012 draft