Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / canvas-createImageBitmap-invalid-blob-in-workers.html
blob8aa03e510b3ce5b2babdb99ba4de3fd0c0b57a1e
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 var worker = startWorker('./resources/canvas-createImageBitmap-invalid-blob-in-workers.js');
10 var xhr = new XMLHttpRequest();
11 xhr.open("GET", 'resources/empty.svg');
12 xhr.responseType = 'blob';
13 xhr.send();
14 xhr.onload = function() {
15 worker.postMessage(xhr.response);
17 </script>
18 </body>
19 </html>