« Bugzilla Issues Index
#2637 — 19.2.3.5 Function.prototype.toMethod: Call CloneMethod for all built-in function objects
- bug_id:
2637
- creation_ts:
2014-04-11 02:30:00 -0700
- short_desc:
19.2.3.5 Function.prototype.toMethod: Call CloneMethod for all built-in function objects
- delta_ts:
2014-05-06 17:01:23 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 23: April 5, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
7667
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-04-11 02:30:17 -0700
19.2.3.5 Function.prototype.toMethod (newHome [ , methodName ] )
It's possible for user code to detect whether a built-in function is implemented by an ECMAScript function object or by a standard exotic built-in function object, because steps 1b and 1c are only executed for ECMAScript function objects. Step 1 and step 2 should be merged, that means the first condition should read:
> If func is an ECMAScript function object or a standard exotic Built-in function object, then [...]
9.2.13 CloneMethod is even written to support built-in function objects, but only called in 19.2.3.5 step 1 for ECMAScript function objects.
- commentid:
7718
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-14 09:41:43 -0700
fixed in rev24 editor's draft
- commentid:
8198
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-05-06 17:01:23 -0700
fixed in rev24