Sign in
webkit
/
WebKit
/
fb971e53364fe47e160b54a5b905b29514f3f69e
/
.
/
JSTests
/
es6
/
typed_arrays_DataView_Uint32.js
blob: fc77f107c190caf666bc94725339807f9fa8ac14 [
file
] [
log
] [
blame
]
function
test
()
{
var
buffer
=
new
ArrayBuffer
(
64
);
var
view
=
new
DataView
(
buffer
);
view
.
setUint32
(
0
,
0x100000000
);
return
view
.
getUint32
(
0
)
===
0
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);