« Bugzilla Issues Index
#3102 — Updates to arguments/caller poisoning on new syntactic forms
- bug_id:
3102
- creation_ts:
2014-08-04 10:48:00 -0700
- short_desc:
Updates to arguments/caller poisoning on new syntactic forms
- delta_ts:
2014-08-09 10:01:46 -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:
WONTFIX
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Rick Waldron
- assigned_to:
Allen Wirfs-Brock
- commentid:
9660
- comment_count:
0
- who:
Rick Waldron
- bug_when:
2014-08-04 10:48:52 -0700
Resolution from last f2f:
- Get rid of all poisoned caller and arguments, except for the poisoned caller and arguments on Function.prototype
- All functions born of non-legacy function syntactic forms do not have caller and arguments properties
- commentid:
9743
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-08-09 10:01:46 -0700
The legacy caller and arguments are a hazzard and were forbidden by ES5 for strict mode functions by defining strict functions to have non-configurable methods with these names that are always throw when called.
Built-ins, including Function.prototype also have such "poison pill" 'caller' and 'arguments' method.