Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / resources / canvas-createImageBitmap-blob-in-workers.js
blob07b5a4a35da852f35b12e3722fd3874f8b441ac3
1 importScripts('../../../resources/js-test.js');
3 self.jsTestIsAsync = true;
5 description('Test createImageBitmap with blob in workers.');
7 self.addEventListener('message', function(e) {
8   createImageBitmap(e.data).then(function() {
9     testPassed('Promise fulfuilled.');
10     finishJSTest();
11   }, function() {
12     testFailed('Promise rejected.');
13     finishJSTest();
14   });
15 });