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