test262 icon indicating copy to clipboard operation
test262 copied to clipboard

Missing coverage: Resizable / Growable (Shared)ArrayBuffers: Missing tests for some Array.prototype functions

Open marjakh opened this issue 4 years ago • 0 comments

There are tests like built-ins/Array/prototype/every/callbackfn-resize-arraybuffer , which invoke an Array.prototype.function with a TypedArray with resizable backing. But looks like we don't have tests for all funcs in Array.prototype. E.g., Array.prototype.join etc.

E.g., V8 currently has a "bug" or rather a missing implementation, that we don't use the correct length when you do Array.prototype.something.call(taWithResizableBacking). But there's no test262 testing failing because of this, as far as I can see.

We'd probably need tests which make the call 1) before resizing 2) after resizing, to make sure we always use the correct length.

cc @jugglinmike @syg

marjakh avatar Dec 14 '21 16:12 marjakh