if (!TypedArrays.isSupported()) {
// TODO: some way of showing test as skipped in this case?
return;
}
ArrayBuffer buf = TypedArrays.createArrayBuffer(12);
Uint16Array array = TypedArrays.createUint16Array(buf);
setFromJsArray(array, 0);
validateArrayContents(array, 0);
buf = TypedArrays.createArrayBuffer(12);
array = TypedArrays.createUint16Array(buf);