archives

« Bugzilla Issues Index

#2710 — ThrowTypeError changes vs ES5


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).


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.


fixed in rev24