4 <script src=
"../../resources/js-test.js"></script>
8 var worker
= startWorker('./resources/canvas-createImageBitmap-blob-in-workers.js');
10 var xhr
= new XMLHttpRequest();
11 xhr
.open("GET", 'resources/pattern.png');
12 xhr
.responseType
= 'blob';
14 xhr
.onload = function() {
15 worker
.postMessage(xhr
.response
);