archives

« Bugzilla Issues Index

#4231 — 22.2.3.25 %TypedArray%.prototype.sort: Specify implementation defined behaviour ?


22.2.3.25 %TypedArray%.prototype.sort ( comparefn )

The implementation defined behaviour as specified in 22.1.3.24 Array.prototype.sort does not make sense for 22.2.3.25. Especially this rule:

> If obj is an exotic object (including Proxy exotic objects) whose behaviour for [[Get]], [[Set]], [[Delete]], and [[GetOwnProperty]] is different from the ordinary object behaviour for these internal methods.


Because that means 22.2.3.25 is always allowed to perform implementation defined behaviour (Integer Indexed objects have a "different behaviour" than the ordinary object [[Get]], [[Set]] etc. internal methods!).


fixed in rev37 editor's draft


In Rev37