« Bugzilla Issues Index
#3100 — Updates to @@unscopables
- bug_id:
3100
- creation_ts:
2014-08-04 10:45:00 -0700
- short_desc:
Updates to @@unscopables
- delta_ts:
2014-08-25 08:29:26 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 26: July 18, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Rick Waldron
- assigned_to:
Allen Wirfs-Brock
- commentid:
9658
- comment_count:
0
- who:
Rick Waldron
- bug_when:
2014-08-04 10:45:21 -0700
Resolution from last f2f:
- @@unscopables only works inside of `with` object environment records, not global object environment records.
- Revert to the previous algorithm:
1. looks up unscopables, doesn't matter where in the prototype
2. checks the `name` against unscopables (HasProperty, not HasOwnProperty)
3. if found continue up to the next scope level
- commentid:
9839
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-08-21 16:52:04 -0700
fixed in rev27 editor's draft
- commentid:
9925
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-08-25 08:29:26 -0700
fixed in rev27 draft