Sign in
webkit
/
WebKit
/
f58027bc4c2d7cd5ba3f8a21251ef5f289107bc1
/
.
/
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
));
}