archives

« Bugzilla Issues Index

#4102 — 22.2.3.22.1 %TypedArray%.prototype.set wrongly accesses array.[[ArrayLength]]


This is the method for non-typed-array use, so this should be a Get of "length".


Actually, I just noticed that you are reporting this against rev32 which is a month out of date.

The current Rev34 uses a Get of "length"


Sorry, last time I checked a few days ago there was no component for the latest spec. I was consulting the Feb20 spec, and it definitely does not have a Get of "length".


(In reply to Jeff Walden (remove +beo to mail) from comment #2)
> Sorry, last time I checked a few days ago there was no component for the
> latest spec. I was consulting the Feb20 spec, and it definitely does not
> have a Get of "length".


??? step 18 of http://people.mozilla.org/~jorendorff/es6-draft.html#sec-%typedarray%.prototype.set-array-offset


Baaah, I was somehow misreading step 11 as referring to the uncertainly-valued argument -- not to |this| which is definitely a typed array. Sorry about that! :-(