« Bugzilla Issues Index
#2710 — ThrowTypeError changes vs ES5
- bug_id:
2710
- creation_ts:
2014-04-22 03:01:00 -0700
- short_desc:
ThrowTypeError changes vs ES5
- delta_ts:
2014-04-29 22:24:10 -0700
- product:
Draft for 6th Edition
- component:
normative change from ES5.x
- version:
Rev 23: April 5, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Andreas Rossberg
- assigned_to:
Allen Wirfs-Brock
- commentid:
7866
- comment_count:
0
- who:
Andreas Rossberg
- bug_when:
2014-04-22 03:01:15 -0700
It seems that the %ThrowTypeError% function is no longer given a 'length' property in the current draft.
Also, the spec adds poisoned caller and arguments properties, but the way this is specified yields an infinite recursion between the creation algorithm, CreateBuiltinFunction, and AddRestrictedFunctionProperties (cf. https://bugs.ecmascript.org/show_bug.cgi?id=1538, which was marked fixed).
- commentid:
7880
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-22 11:24:26 -0700
fixed in rev24 editor's draft
restructed definition so that the built-in function defaults apply for it (except for [[Extensible]]
also fixed the infinite recursion.
- commentid:
8009
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-29 22:24:10 -0700
fixed in rev24