InitializeTypedArrayFromArrayBuffer used Checked<u32> for view bounds. Valid ToIndex values at 2**32 could wrap to zero before the out-of-range check, so constructors accepted views that should throw. Keep the bounds math in size_t until after the spec range checks. Narrow only when storing the values in the current TypedArray slots. Add LibJS coverage for ArrayBuffer byteOffset and length wraparound cases. |
||
|---|---|---|
| .. | ||
| AST | ||
| Bytecode | ||
| Runtime | ||
| CMakeLists.txt | ||
| test-bytecode-cache.cpp | ||
| test-js-ast.py | ||
| test-js-bytecode.py | ||
| test-js.cpp | ||
| test-primitive-string.cpp | ||
| test-value-js.cpp | ||