Update web-platform-tests to revision 7ec633bbfbc01de4972e65f81f593983d9cdc17d

This commit is contained in:
WPT Sync Bot 2020-01-23 08:22:35 +00:00
parent 24674687ac
commit 36e52003a7
107 changed files with 1452 additions and 646 deletions

View file

@ -0,0 +1,17 @@
function makeBlob() {
return new Promise(function(resolve, reject) {
var xhr = new XMLHttpRequest();
xhr.open("GET", '/images/pattern.png');
xhr.responseType = 'blob';
xhr.send();
xhr.onload = function() {
resolve(xhr.response);
};
});
}
addEventListener("message", () => {
makeBlob().then(createImageBitmap).then(bitmap => {
postMessage(bitmap, [bitmap]);
});
});