Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / webgl / resources / worker-data-view-test.js
blob027d57d7cc3de8c5d58edbbe2fb9f77f73ee2457
1 onmessage = function(evt) {
2 var array = new Uint32Array(1);
3 var view = new DataView(array.buffer);
4 view.setUint32(0, 12345678, true);
5 postMessage(view.getUint32(0, true));