« Bugzilla Issues Index
#3819 — 9.4.1.3 BoundFunctionCreate should use target function's [[Prototype]]
- bug_id:
3819
- creation_ts:
2015-02-11 10:17:00 -0800
- short_desc:
9.4.1.3 BoundFunctionCreate should use target function's [[Prototype]]
- delta_ts:
2015-02-12 12:17:38 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 32: February 2, 2015 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- commentid:
12307
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-11 10:17:02 -0800
BoundFunctionCreate is unconditionally setting the [[Prototype]] of the bound function it creates to %FunctionPrototype%. It should, instead set it to the [[Prototype]] of the target function. Otherwise, binding a function (such as a class constructor or generator function causes it to loose access to inherited properties.
- commentid:
12308
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-11 10:22:53 -0800
fixed in rev33 editor's draft
- commentid:
12422
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-12 12:17:38 -0800
fixed in rev33