Sign in
webkit
/
WebKit
/
9560e94495add9562f2f4fa2351f1b26992db47f
/
.
/
LayoutTests
/
fast
/
canvas
/
webgl
/
resources
/
worker-data-view-test.js
blob: 027d57d7cc3de8c5d58edbbe2fb9f77f73ee2457 [
file
] [
log
] [
blame
]
onmessage
=
function
(
evt
)
{
var
array
=
new
Uint32Array
(
1
);
var
view
=
new
DataView
(
array
.
buffer
);
view
.
setUint32
(
0
,
12345678
,
true
);
postMessage
(
view
.
getUint32
(
0
,
true
));
}